this post was submitted on 15 May 2025
183 points (95.5% liked)

Programmer Humor

36785 readers
418 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 month ago (1 children)

Wrong direction!

Store only bits using word-length ints (32 bits in most modern architectures), and program everything to do math using arrays of 32 int-bits to numbers!

[–] [email protected] 4 points 1 month ago (1 children)

Oh man! That took me down memory lane!

I once had to reverse engineer a database to make an invoice integration. They had an int named flags. It contained all status booleans in the entire system. Took me a while to figure that one out.

[–] [email protected] 3 points 1 month ago

We've all been there, friend. The bit arrays can't hurt you now.