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

Programmer Humor

29635 readers
1079 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
[โ€“] ZILtoid1991@lemmy.world 25 points 20 hours ago (2 children)

Now get ready for fuzzy logic!

  • -1.0 = false
  • 0.0 = neutral
  • 1.0 = true

Also now you know more about AI than most AI bros on the internet.

[โ€“] kubica@fedia.io 1 points 14 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 11 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.