I can’t believe nobody has done this list yet. I mean, there is one about names, one about time and many others on other topics, but not one about languages yet (except one honorable mention that comes close). So, here’s my attempt to list all the misconceptions and prejudices I’ve come across in the course of my long and illustrious career in software localisation and language technology. Enjoy – and send me your own ones!

  • Crestwave@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    17 hours ago

    As far as C goes, 1 is true and 0 is false.

    In terms of POSIX exit codes, 0 is success and 1 is error.

    • duckythescientist
      link
      fedilink
      arrow-up
      5
      ·
      15 hours ago

      I think more specifically for C, 0 is false and anything nonzero is true. Idk about NaN/inf.