• skulbuny@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    18
    ·
    3 months ago

    I learned early in my software engineering career these two beautiful rules of debugging:

    1. Read all of the words
    2. Believe them
    • Elvith Ma'for@feddit.org
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      3 months ago

      Unless you were the one writing the program and its error messages - then check, that you didn’t mess up there…

    • ugo@feddit.it
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      Until you write a compiler error in some deeply templated C++ code, in which case just reading every word takes all day

      /s but not too much

    • smeg@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Addendum to 2: never believe that what they say is relevant to what’s actually happening here. You have a lot of faith that the people writing error messages knew what they were doing!