• vithigar@lemmy.ca
    link
    fedilink
    arrow-up
    18
    ·
    23 hours ago

    You stated the reason yourself. Those are different values and matching in a case-insensitive manner is more work under the hood.

    • ramble81@lemm.ee
      link
      fedilink
      arrow-up
      8
      arrow-down
      3
      ·
      22 hours ago

      We do plenty of stuff for human consumption. Computers work for us, not the other way around. Insensitivity should be the default. It’s okay to give options. I’m not saying take that away.

      • calcopiritus@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        22 hours ago

        For some reason we decided that a lot of formats written by computers and read by computers would use ASCII encoding instead of raw data.

        Making a json or XML deserializer case insensitive would just make it slower for almost 0 benefit.