Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's almost certainly a precedence issue. It's much easier to consider that unary operators have precedence over binary operators, and just learn the precedence rules for each class, rather than a global precedence rule. Plus, there's no conflict with math notation, as there is no exponentiation operator in math.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: