this post was submitted on 25 Feb 2026
731 points (99.1% liked)

Programmer Humor

30157 readers
618 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
 

A photo of a cake with 8 candles in a row. The first and fifth candle from the right are lit. The caption reads "Happy 17th Birthday"

you are viewing a single comment's thread
view the rest of the comments
[–] adb@lemmy.ml 7 points 6 days ago* (last edited 5 days ago) (2 children)

Binary exists in both ~~big-endian~~LSb or ~~little-endian~~MSb. In other words, both directions can be valid.

As explained below: Endianness is specifically the order of bytes. I was under the impression that it also implied a specific order of bits but anyways, the correct terms for this discussion is Least/Most Significant bit order.

[–] glibg10b@lemmy.zip 3 points 5 days ago (1 children)

This is a single byte, so it's represented the same in big-endian vs little-endian. Endianness defines the order of bytes, not individual bits

[–] adb@lemmy.ml 2 points 5 days ago

Indeed, endianness is the order of bytes, my bad. I guess I meant LSb vs MSb

[–] CannonFodder@lemmy.world 4 points 6 days ago (1 children)

Ya, but we pretty much always write it with most significant on the left. The endianness is more to do with the order transmitted when serialized. Or are there cases where people actually write it backwards?

[–] adb@lemmy.ml 2 points 5 days ago

The way I see it, if you want to be pedantic about it (it being a joke photo, so potentially unintentionally reversed by the camera, of a cake which is in 3d space and can be seen in both directions) you might as well do it properly and acknowledge that different orders exist for bits.

Indeed writing conventions are also a good point, however this is not writing. People actually working at bit level are probably more likely to see bits on a scope (so in both LSb or MSb order) than as 1 and 0s written on a piece of paper or a screen.