Soy 0 got truthmogged by chad 1 😎

  • kubica@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    18 hours ago

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

    • ZILtoid1991@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      16 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.