|
![](/i/fill.gif) |
> However, more to the point, unary operators have to have higher precedence
> than all other operators or expressions turn out unreadable. Imagine an
> expression like (x+++---y) or (x*-y). If the unary operator had lower
> precedence they would be illegal, or at least it would make reading the
> expressions much more difficult for a human *and* a computer...
Ah. I never really understood why expressions like that worked =)
But that's ok, I didn't know it was the intended behavior...
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
![](/i/fill.gif) |