this post was submitted on 21 Mar 2025
677 points (100.0% liked)

Programmer Humor

22085 readers
491 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
[–] [email protected] 22 points 1 week 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.

[–] [email protected] 8 points 1 week 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.

[–] [email protected] 5 points 1 week ago

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

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago)

✋ Case insensitive filesystem
👉 Case insensitive file sorting

[–] [email protected] 2 points 1 week 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.