3 ms·
Can you parse this expression without parentheses? a && b && c || d || e + f > g && h The parser sure can. Do you have all the operator precedences memori
by fusiongyro 15y ago
Can you parse this expression without parentheses?
a && b && c || d || e + f > g && h
The parser sure can. Do you have all the operator precedences memorized, or do you use superfluous parentheses because you're not always sure?
It's true that the semicolon is not needed, and it's true that the minifier is breaking code. It may even be true that Crockford should fix it. But that doesn't change the fact that the omit-the-semicolons position is absurdly immature hipster posturing that serves no engineering purpose.
- deleted 15y ago[deleted]
- rtomayko 15y agoDo you use parenthesis to denote order of operations in all cases, even when extremely obvious? If not, should we assume your position is absurdly immature hipster posturing that serves no engineering purpose?
- jhuni 15y agoI use Lisp, so the answer to your question is yes. I do use parenthesis in all cases.