this post was submitted on 10 Feb 2026
492 points (96.6% liked)

Programmer Humor

29635 readers
1120 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Soy 0 got truthmogged by chad 1 ๐Ÿ˜Ž

you are viewing a single comment's thread
view the rest of the comments
[โ€“] kubica@fedia.io 1 points 12 hours ago (1 children)

The not so funny thing is that if you try this in scripting languages -1 and 1 are both truthy so...

[โ€“] ZILtoid1991@lemmy.world 1 points 9 hours ago

Because you need to infer the fuzzy boolean as a type (I personally plan to make one that works between -127 and 127, on integers instead of floats), and then write an interpreter to use the values accordingly.