• henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    133
    ·
    4 months ago

    All the debugging tools in the world doesn’t beat an excellent sense of intuition and putting that print statement exactly where it needs to be.

    • ryannathans
      link
      fedilink
      arrow-up
      64
      arrow-down
      1
      ·
      4 months ago

      As linus says, if you need to use a debugger your code is too complicated

      • flying_sheep@lemmy.ml
        link
        fedilink
        arrow-up
        37
        ·
        4 months ago

        He works on Linux where he controls the whole stack down to the metal and I love that for him, but other people have to call library code, and them debug that if it doesn’t work as they thought it would.

      • Cubes@lemm.ee
        link
        fedilink
        English
        arrow-up
        5
        ·
        4 months ago

        The problem is that sometimes it’s not your code that you’re debugging