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.
SmartmanApps@programming.dev 1 day ago
It’s not a rule, it’s a convention, and it exists so as to avoid making mistakes with signs, mistakes you made in almost every example you gave where you disobeyed left to right.