this post was submitted on 14 Jan 2025
385 points (91.4% liked)

Programmer Humor

32877 readers
1213 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] 15 points 1 day ago* (last edited 1 day ago) (3 children)

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

[โ€“] [email protected] 24 points 1 day ago* (last edited 1 day ago) (1 children)

๐Ÿšซ const gender

๐Ÿ‘‰ var gender

[โ€“] [email protected] 9 points 1 day ago (1 children)

khm, khm
let gender

please don't use deprecated syntax

[โ€“] [email protected] 4 points 1 day ago

May be gdscript

[โ€“] [email protected] 14 points 1 day ago (1 children)

And liable to type conversion errors and precision loss.

[โ€“] [email protected] 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.

[โ€“] [email protected] 5 points 1 day ago

A boolean variable?