this post was submitted on 14 Jan 2025
397 points (90.9% liked)

Programmer Humor

32879 readers
1459 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 28 comments
sorted by: hot top controversial new old
[–] SnotFlickerman@lemmy.blahaj.zone 15 points 1 day ago* (last edited 1 day ago) (5 children)

Gender is not a boolean value, it's a variable.

[–] Atlusb@lemmy.world 14 points 1 day ago (1 children)

And liable to type conversion errors and precision loss.

[–] NocturnalMorning@lemmy.world 9 points 1 day ago

Jesus, why'd you have to bring floating point and machine precision into the conversation? Now I won't sleep. And the nightmares will be worse than before.

[–] SpaceNoodle@lemmy.world 5 points 1 day ago

A boolean variable?

load more comments (3 replies)
[–] enbipanic@lemmy.blahaj.zone 7 points 1 day ago

We may have discovered gender entropy, Shannon would be proud

[–] leaky_shower_thought@feddit.nl 6 points 1 day ago (1 children)
[–] MeatPilot@lemmy.world 3 points 1 day ago (1 children)

0100100100100111011011010010000001100001001000000111001001101111011000100110111101110100001000000110000101110100011101000111001001100001011000110111010001100101011001000010000001110100011011110010000001101101011000010110011101101110011001010111010001110011

[–] LifeLemons@lemmy.ml 1 points 1 day ago

There are 2⁶⁴ genders

[–] ILikeBoobies@lemmy.ca -2 points 19 hours ago (17 children)

No Y = 0

Presence of Y = 1

Looks like you can express it with binary if you want, though you would need an interpreter

load more comments (17 replies)
[–] Valmond@lemmy.world 3 points 1 day ago (2 children)

As it is not stable I'd go with a database.

Sqlite.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›