49 ms·
> 5 + (3 * 2) obviously wins some points from being what we get taught for a decade It also has the benefit of having an obvious starting point: on the left, a
by saghm 2y ago
> 5 + (3 * 2) obviously wins some points from being what we get taught for a decade
It also has the benefit of having an obvious starting point: on the left, and moving to the right compared to "on the right but inside all of the parentheses, but don't ignore them because they're needed!" Where it fails is the implicit assumption of operator precedence, which breaks the "left to right model". If anything though, I'd argue that eliminating precedence rules and requiring parentheses for anything other than strict left-to-right order would be _more_ intuitive, and the fact that we were all taught about the "order of operations" is the only reason it isn't obvious that it's probably not better for anything other than writing polynomial expressions, which is not something that most people will ever do outside of the specific educational context where we're taught the precedence rules in the first place.