• Melvin_Ferd@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    2 days ago

    Maybe I’m wrong but the way I explain it is until the ambiguity is removed by adding in extra information to make it more specific then all those answers are correct.

    “I saw her duck”

    Until the author gives me clarity then that sentence has multiple meanings. With math, it doesn’t click for people that the equation is incomplete. In an English sentence, ambiguity makes more sense and the common sense approach would be to clarify what the meaning is

    • HereIAm@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      100% with you. “Left to right” as far as I can tell only exists to make otherwise “unsolvable” problems a kind of official solution. I personally feel like it is a bodge, and I would rather the correct solution for such a problem to be undefined.

      • Robust Mirror@aussie.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days 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.