• 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle






  • Kogasa@programming.devtoMemes@lemmy.ml6÷2(1+2)
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    My opinion hasn’t changed. The standard order of operations is as well defined as a notational convention can be. It’s not necessarily followed strictly in practice, but it’s easier to view such examples as normal deviation from the rules instead of an implicit disagreement about the rules themselves. For example, I know how to “properly” capitalize my sentences too, and I intentionally do it “wrong” all the time. To an outsider claiming my capitalization is incorrect, I don’t say “I am using a different standard,” I just say “Yes, I know, I don’t care.” This is simpler because it accepts the common knowledge of the “normal” rules and communicates a specific intent to deviate. The alternative is to try to invent a new set of ad hoc rules that justify my side, and explain why these rules are equally valid to the ones we both know and understand.


  • Kogasa@programming.devtoMemes@lemmy.ml6÷2(1+2)
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 months ago

    It’s not ambiguous, it’s just that correctly parsing the expression requires more precise application of the order of operations than is typical. It’s unclear, sure. Implicit multiplication having higher precedence is intuitive, sure, but not part of the standard as-written order of operations.