Hacker News new | past | comments | ask | show | jobs | submit login

I've never found it to be an issue with math. Unary minus > powers > multiplication/division > addition/subtraction.

I have seen differences in the precedence of logical operators between languages (and > or but what happens when you have both math and logic in the same statement isn't entirely consistent) and always use parenthesis in those cases--although these days if Resharper says it's redundant I let it remove them.




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

Search: