this post was submitted on 21 Mar 2025
663 points (99.6% liked)

Programmer Humor

21829 readers
1502 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Original post: hachyderm.io (Mastodon)

you are viewing a single comment's thread
view the rest of the comments
[–] vithigar@lemmy.ca 22 points 2 days ago (1 children)

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 5 points 2 days ago (3 children)

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.

[–] lengau@midwest.social 4 points 2 days ago* (last edited 2 days ago)

✋ Case insensitive filesystem
👉 Case insensitive file sorting

[–] WordBox@lemmy.world 5 points 2 days ago

Humans have to make it do the work. And that's how Mr; DROP TABLE makes his money.

[–] calcopiritus@lemmy.world 2 points 2 days 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.