549
Stringly typed (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] kiri@piefed.social 17 points 1 day ago
[-] Jerkface@lemmy.world 13 points 1 day ago

... Little Endian or Big Endian?

[-] squaresinger@lemmy.world 6 points 1 day ago
[-] JackbyDev@programming.dev 5 points 1 day ago

I made a joke about that lately after someone suggested YYYY-DD-MM.

[-] baines@lemmy.cafe 2 points 1 day ago

how big is your word and how would this work

[-] squaresinger@lemmy.world 6 points 21 hours ago

You know, I was just joking, but turns out, Middle Endian really does exist!

https://en.wikipedia.org/wiki/Endianness#Middle-Endian

And it's just as crazy as one'd think. It's a 32bit value consisting of two 16bit little endian words jumbled together in big endian. So the byte order is B A D C.

Whenever I think "This is a really stupid idea, nobody would do that", turns out, someone actually did that.

[-] baines@lemmy.cafe 3 points 17 hours ago* (last edited 17 hours ago)

oh lord why but that is about what i thought itd be

this post was submitted on 10 Sep 2025
549 points (98.2% liked)

Programmer Humor

26265 readers
2607 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