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

Also they help if you're working in more than one language any given year, as there are differences in precedence rules between programming languages.



Scheme and Common Lisp have significant differences, but their precedence rules are identical.


Is there? I've never noticed precedence differences, and I would find that crazy!


This article describes one: Swift/Go/Ruby/Python differ from C++/Java/JS/C#/PHP on & vs && vs ==.


PHP famously has the wrong associativity for the ternary operator.




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

Search: