this post was submitted on 14 Jan 2025
463 points (91.0% liked)

Programmer Humor

36539 readers
314 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] 16 points 5 months ago* (last edited 5 months ago) (3 children)

Gender is not a boolean value.

[โ€“] [email protected] 25 points 5 months ago* (last edited 5 months ago) (1 children)

๐Ÿšซ const gender

๐Ÿ‘‰ var gender

[โ€“] [email protected] 9 points 5 months ago (2 children)

khm, khm
let gender

please don't use deprecated syntax

[โ€“] [email protected] 6 points 5 months ago

May be gdscript

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

But that's immutable ๐Ÿฆ€

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

And liable to type conversion errors and precision loss.

[โ€“] [email protected] 9 points 5 months 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 5 months ago

A boolean variable?