558
of=/dev/sda (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] skulbuny@sh.itjust.works 24 points 8 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
[-] smeg@feddit.uk 6 points 8 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!

[-] skulbuny@sh.itjust.works 2 points 8 months ago* (last edited 8 months ago)

I mean, if the error says "variable foo is not defined" I don't think it's wise to go "I'm pretty sure it's defined, the compiler is just wrong" 😂

[-] firelizzard@programming.dev 2 points 8 months ago

I don’t know, have you ever used JavaScript? I’ve run into some really fucking weird bugs. I’ve also spent hours trying to find the source of an error message only to discover the error message was lying and caused by some other error.

load more comments (1 replies)
load more comments (3 replies)
this post was submitted on 30 Sep 2024
558 points (97.4% liked)

Programmer Humor

24317 readers
429 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS