• @xarvos@lemmy.ml
    link
    fedilink
    33 years ago

    As a programmer I’m annoyed at mismatching parentheses.

    Is there a saner notation 😢

      • @xarvos@lemmy.ml
        link
        fedilink
        43 years ago

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

        • @carbon_dated@lemmy.ml
          link
          fedilink
          43 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}

  • Riven
    link
    fedilink
    19 months ago

    [a,b) is commonly called “half open” in the database world, so my first instinct is to call (a,b] half closed. Sounds weird though. Inverse half open?