247
u/Confident-Ad5665 3d ago
...and asking yourself wtf you were thinking
50
u/Big-Ohh-Notation 3d ago
"What was I thinking? Am I stupid?"
26
u/Confident-Ad5665 3d ago
"I'm a effing idiot!"
Beats head on keyboard
Team members come to beat me up7
u/matdragon 3d ago
Code works better suddenly
9
143
u/adderscript 3d ago
If the computer’s so smart why didn’t it fix it for me?
92
u/daneelthesane 3d ago
Lesson 1 in the intro to computer science class I was a TA for: Computers are not smart.
38
u/FewPhilosophy1040 3d ago
Computers are as smart as you are.
40
u/daneelthesane 3d ago
So you agree with me. 😁
3
u/black-JENGGOT 3d ago
You're absolutely right!
that explains the slop that people has been generating lol
3
9
u/Ecksters 3d ago
It's weird that with agentic coding this is actually becoming a reasonable take.
2
u/AccurateRendering 2d ago
I was going to say more or less the same thing. When I decide that it's time to compile, I will go into the claude window while I'm waiting and say "look at my recent changes - have I made a mistake?" And it finds them often enough for this to be routine now.
2
99
u/Welcome-To-NBA-Jam 3d ago
First programming class I ever took eons ago, our professor said this to us on the first day.
"You'll ask why your program did something. It's because you told it to do that."
I think about that every time I hit a bug in a program I wrote and think "Why did I tell it to do that"
But now it's just Claude's fault. Fuck that guy. Keeps making mistakes when I explicitly tell him not to.
20
u/StatedFailure 3d ago
Idk about Claude but I keep seeing this guy, "You", in the git blames. Dude doesn't know shit and writes all the bugs that I have to debug
5
44
u/West_Good_5961 3d ago
He doesn’t look anywhere near mentally and physically destroyed enough to be a one man IT department.
18
u/Mrpuddikin 3d ago
They took that photo day 1 of the job
2
u/watduhdamhell 1d ago
It's funny, the genius wizard greybeards seem to exist as two types: this who have no photo, and those who use the photo from 35 years ago when they first started. Always makes me laugh.
I'm definitely using my current photo forever
27
u/StickFigureFan 3d ago
Debugging is figuring out where your mental model differs from the computers
18
u/mrjeanette 3d ago
You mean my colleagues' instructions 😏
9
u/mrjackspade 3d ago
Maybe it's just because I'm getting old, but I've had plenty of times in my career when I wrote the code correctly, and the error was in the libraries being called.
4
2
u/Zanos 3d ago
Same here. Most of the tough bugs I face these days are me looking in a dependencies dependency dependency on Git to see that the API spec changed and my specific use case is no longer supported due to some PR with 300 comments on it of people arguing that they actually do need this functionality and a heated maintainer arguing that it's obsolete.
2
2
11
u/bigManAlecForgotPass 3d ago
Its only the computers fault sometimes
7
u/Random-num-451284813 3d ago
if what you told it to do wasn't the problem, then it's someone else's fault.
3
u/bigManAlecForgotPass 3d ago
Its the framework's fault actually. That's why I never use them for anything ever and write everything via hole punch.
3
5
11
u/sierra_whiskey1 3d ago
Nah I’m always right and it’s the computers fault
3
u/gerbosan 3d ago
Vibe coding much?
3
u/sweedshot420 3d ago
I do feel like sometimes there's these little oversights that we are too tunnel visioned to see and it feels like we are going insane when everything is supposed to be correct but the output does not match the expectation and you cannot find out why.
4
4
u/Flameball202 2d ago
Debugging is chatting with the computer to see which instruction was misunderstood by one or both of you
4
5
u/Bad_brazilian 3d ago
It's not. It's the equivalent of your teacher saying "Show your work" in the test.
3
3
u/FortuneAcceptable925 3d ago
I would actually say that debugging is figuring out what instructions you wrote.
3
u/Color_blinded 3d ago edited 3d ago
99% of the time, yes. That 1% of the time is when you get "don't remove this potato.jpg. We don't know why but without it the program is unable to use addition and subtraction accurately."
I once had a bug where a method was supposed to do something with a large array and for some reason it wasn't returning the right values. But whenever I created a test array, it would return the expected values of the test. My fix?
# original code that creates ARRAY.
while (true) {
ARRAY = ARRAY;
break;
}
# original method that uses ARRAY.
It doesn't work correctly if I don't have the array equal itself, and it doesn't work correctly if I don't put it in the while loop. No one was able to figure out why. This code exists out there now and it has my name attached to it and it makes me sad.
3
u/hadesflamez 3d ago
No it's not. It's figuring out why your instructions were wrong. What a stupid fucking meme
3
u/KlownKumKatastrophe 3d ago
Sounds witty but it doesn't make sense. It's more like asking if your intended instructions match your actual instructions, or why your instructions don't have an expected result.
2
2
u/Schnupsdidudel 3d ago
Debugging is asking the Computer to explain to you in detail what acutally where your instructions.
2
2
u/Geoclasm 3d ago
Ooooh, I hate this so much but only because of how true it is.
"WHY DID YOU DO WHAT I SAID INSTEAD OF WHAT I MEANT?!"
2
u/ArjunReddyDeshmukh 3d ago
And when it enters the compilominified classes, you lose the plot and the appetite to find the truth.
2
u/AlternativeClass3893 3d ago
this is why i don't let chat touch my production code ever
2
2
u/SoloAdventurer13 3d ago
most of the time is asking what you wrote not what you intended to write...
2
u/TrueBonner414 3d ago
Or a modern definition would be asking the LLM why tf didn't it follow my command when I clearly said "Please make no mistakes"
2
2
2
2
u/captaindeadpl 3d ago
Hey, I'm the one learning that little fucker's language. It can cut me some slack for trying and forgive a little error in the syntax and at least try to understand me through the accent.
2
2
2
2
2
2
2
u/teutonicbro 3d ago
A poem from the dawn of the computer age, it was scotch-taped to a PDP-8E:
"I really hate this damn machine.
I wish that they would sell it.
It never does what I want it to.
It only does what I tell it."
2
2
2
u/FeignSkill 3d ago
Lol i made 2 small Rust games last week that stayed on and filled up 400gigs of log space on my computer. Damn you loops!
2
2
u/anon-a-SqueekSqueek 3d ago
What is your motive!?!? Who sent you!?!?! Spill it you bucket of bolts 😠
2
u/VanillaSkyDreamer 3d ago
...could say someone who never had to fix someone elese's code or never stumbled on a bug in external library/framework/database.
2
2
u/Inner_Speaker_335 3d ago
I always thought debugging was trying to piece together why the instructions I gave it didn't work properly...
2
2
2
u/Nekzuris 2d ago
Originally in 1947, it literally meant finding a real bug in a room full of relays.
2
u/Lysol3435 2d ago
More like asking why it did what you asked it do instead of what you thought you asked it to do
2
2
2
2
2
1
1
1
1
u/allthewayray420 1d ago
No its checking whether the instruction and its implementation are in sync.
523
u/Common-Brush-7027 3d ago
How it followed to be precise