• xarvos
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    3 years ago

    As a programmer I’m annoyed at mismatching parentheses.

    Is there a saner notation 😢

    • carbon_dated
      link
      fedilink
      arrow-up
      3
      ·
      3 years ago

      I never saw that notation. I learned to write ]a, b] instead.

      • xarvos
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        That’s French notation iirc. More intuitive imo, but its parentheses are also mismatching.

        • carbon_dated
          link
          fedilink
          arrow-up
          4
          ·
          3 years ago

          Yeah, they do mismatch. I just mentioned it because I was unfamiliar with the notation in the image. You could also write {x ∊ ℝ : x > a ⋀ x ≤ b} or [a, b]\{a}