Comment on A fake Facebook event disguised as a math problem has been one of its top posts for 6 months

<- View Parent
Robust_Mirror@aussie.zone ⁨3⁩ ⁨weeks⁩ ago

It’s so we don’t have to spam brackets everywhere

9+2-1+6-4+7-3+5=

Becomes

((((((9+2)-1)+6)-4)+7)-3)+5=

That’s just clutter for no good reason when we can just say if it doesn’t have parentheses it’s left to right. Having a default evaluation order makes sense and means we only need parentheses when we want to deviate from the norm.

source
Sort:hotnewtop