this post was submitted on 15 May 2025
187 points (95.6% liked)

Programmer Humor

35791 readers
72 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] 9 points 1 week ago (1 children)

Store 8 bits in the same byte then ๐Ÿ‘Œ

[โ€“] [email protected] 3 points 1 week 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 week 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 week ago

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