|
|
|
|
|
by Pewpewarrows
4932 days ago
|
|
I agree. But in all code that I write, regardless of pretty much whatever language it's written in, I always explicitly add parentheses around what I want the order of operations to be. "1 * 3 + 4 / 20 && foo" is unreadable. No one wants to memorize the order of operations for every language they use and have to figure it out in their head. Make life easier for the people who have to maintain that line of code you just wrote. |
|
- Tim Bray
[1] http://www.tbray.org/ongoing/When/201x/2010/06/29/No-Default...