this post was submitted on 14 Jan 2025
435 points (90.4% liked)

Programmer Humor

32710 readers
503 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 3 weeks ago* (last edited 3 weeks ago) (3 children)

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

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

๐Ÿšซ const gender

๐Ÿ‘‰ var gender

[โ€“] [email protected] 9 points 3 weeks ago (2 children)

khm, khm
let gender

please don't use deprecated syntax

[โ€“] [email protected] 6 points 3 weeks ago

May be gdscript

[โ€“] qaz 1 points 3 weeks ago

But that's immutable ๐Ÿฆ€

[โ€“] Atlusb 14 points 3 weeks ago (1 children)

And liable to type conversion errors and precision loss.

[โ€“] NocturnalMorning 9 points 3 weeks 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 5 points 3 weeks ago

A boolean variable?