this post was submitted on 14 Jan 2025
454 points (91.3% liked)

Programmer Humor

32910 readers
642 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
[โ€“] SnotFlickerman@lemmy.blahaj.zone 16 points 4 days ago* (last edited 4 days ago) (3 children)

Gender is not a boolean value.

[โ€“] HiddenLayer555@lemmy.ml 25 points 4 days ago* (last edited 4 days ago) (1 children)

๐Ÿšซ const gender

๐Ÿ‘‰ var gender

[โ€“] flamingo_pinyata@sopuli.xyz 9 points 4 days ago (2 children)

khm, khm
let gender

please don't use deprecated syntax

[โ€“] Alfenstein@lemmy.ml 6 points 4 days ago

May be gdscript

[โ€“] qaz@lemmy.world 1 points 3 days ago

But that's immutable ๐Ÿฆ€

[โ€“] Atlusb@lemmy.world 14 points 4 days ago (1 children)

And liable to type conversion errors and precision loss.

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 4 days ago

A boolean variable?