• Doc Avid Mornington
    link
    fedilink
    31 year ago

    Ever see things like: if ((x == 0) == true)? Or: x = y == 'z' ? true : false? Some things just really make me worry about people, you know?

    • @[email protected]
      link
      fedilink
      19 months ago

      I did once see if (!x) strcpy(x, ""); It was from a VB “programmer” who was experimenting with C. In production code.