you are viewing a single comment's thread
view the rest of the comments
[–] 40 points 6 months ago (8 children)

strings "true" and "false" ofc like any sane developer

  • source
  • parent
  • hideshow 8 child comments
  • [–] 26 points 6 months ago (3 children)

    I got a better one: O for true and N for false.

    Seen in production for quite important stuff (payment requests).

    O is from Oui, N from Non, of course!

    😐🫤

  • source
  • parent
  • hideshow 3 child comments
  • [–] 24 points 6 months ago (3 children)
  • [–] 31 points 6 months ago (2 children)

    it allows for mood changes, some parts of the code can check charAt(0) == 't'others can do val != 'false' just let it flow.

  • source
  • parent
  • hideshow 2 child comments