this post was submitted on 15 May 2025
1158 points (98.6% liked)

Programmer Humor

23398 readers
1777 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
you are viewing a single comment's thread
view the rest of the comments
[–] ulterno@programming.dev 4 points 6 days ago (1 children)

Yeah. I once had to do stuff to code that had bit-fields like that and after a while, realised (by means of StackOverflow) that that part is UB and I had to go with bitwise operations instead.

[–] grrgyle@slrpnk.net 4 points 6 days ago (1 children)
[–] ulterno@programming.dev 1 points 6 days ago

Ok, I recalled wrong, it was unspecified