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

But no one is defining -3 as (0-3). You are entirely missing the point. I am going to quote myself again:

> The original argument is entirely related to having unary minus and binary minus which are different operators conceptually have similar precedence as being less surprising.

And no, you don’t get 9 when you swap the unary operator. That’s the whole point and why it’s surprising that Excel did reverse the precedence for implementation easiness.



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

Search: