this post was submitted on 15 May 2025
1129 points (98.5% liked)

Programmer Humor

23417 readers
1609 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
[โ€“] KindaABigDyl@programming.dev 183 points 1 week ago (5 children)
typedef struct {
    bool a: 1;
    bool b: 1;
    bool c: 1;
    bool d: 1;
    bool e: 1;
    bool f: 1;
    bool g: 1;
    bool h: 1;
} __attribute__((__packed__)) not_if_you_have_enough_booleans_t;
[โ€“] kiri@ani.social 43 points 1 week ago

You beat me to it!

load more comments (4 replies)