this post was submitted on 30 Sep 2024
543 points (97.5% liked)

Programmer Humor

19623 readers
79 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 58 points 2 months ago (5 children)

Hmmm command not found, let me just try the same command a couple more times, this time it will work right?

In IT teaching users to actually read and understand errors is always an uphill battle.

[–] [email protected] 78 points 2 months ago (2 children)

Tbh I'd try it multiple times too, just because the concept of cd not being there is horrifying and cannot possibly be the case

[–] [email protected] 26 points 2 months ago

Very true, I would do the same and feel my stomach drop farther each time.

[–] Ziglin 2 points 2 months ago

Also muscle memory. I keep typing aliases I only have on my computer :(

[–] [email protected] 24 points 2 months ago (3 children)

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

  1. Read all of the words
  2. Believe them
[–] [email protected] 10 points 2 months ago* (last edited 2 months ago)

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

[–] [email protected] 7 points 2 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

[–] [email protected] 6 points 2 months ago (2 children)

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!

[–] [email protected] 3 points 2 months ago

Having written some error messages in a godforsaken database frontend, an error message only means that something didn't work correctly and may or may not correctly indicate what is actually wrong

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago) (1 children)

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" 😂

[–] [email protected] 2 points 2 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.

[–] [email protected] 8 points 2 months ago (1 children)

You see they all different one use / the other use - and ~

/S

[–] thevoidzero 3 points 2 months ago* (last edited 2 months ago)

Yeah but those are arguments to cd, the error says command not found

Edit: Sorry didn't see /S

[–] [email protected] 6 points 2 months ago

Never dealt with an intermittent failure or race condition, eh?

[–] [email protected] 5 points 2 months ago

Where is the Windows 'help' button, did you try that?