Re:Ivy – An interpreter for an APL-like language
by rob74 on Sunday August 07, 2022 @06:08AM
(#32375282)
Well yeah, having precedence rules makes the notation more concise and can save you from typing lots and lots of brackets. And I don't think multiplication/division having higher precedence than addition/subtraction (and, by extension, AND having higher precedence than OR) is all that "screwball" - and even if it were, if you paid attention in elementary school, you already know it, so programming languages can rely on it. Of course, the moment they start getting "creative" with precedence, those exceptions turn into massive footguns...
[ Parent
| on HN ]
There are no comments on this comment yet.