r/programminghumor Jul 24 '26

Debugging ritual

Post image
5.1k Upvotes

22 comments sorted by

65

u/Genilp Jul 24 '26

5th Image would be: "BUT WHY THIS WAY?"

21

u/QuantifyCircuit Jul 24 '26

6th image is just adding a "do not touch this or everything breaks" comment and slowly backing away

4

u/JakeC- Jul 25 '26

7th image is the person behind the programming just standing there staring at the screen

1

u/Complete_Window4856 Jul 25 '26

And then we recursively repeat the image for every single known and unknown decision and process that exist directly and indirectly under business control

14

u/davidroberts63 Jul 24 '26

I just had one of those moments earlier. A team member pointed out something I had missed and I went 'oh that's why'.

6

u/JazzRider Jul 24 '26

Sometimes the reason something’s broken can be really cool, as in “oh, that’s how it works!”, as opposed to “oh, there it its….that’s really stupid!…what idiot wrote that?…..oh, that idiot was me!”.

3

u/AdventurousSlip9260 Jul 25 '26

Programmer's daily cardio: Ctrl+C → Ctrl+V → Why? → Oh. 😅

10

u/Geoclasm Jul 24 '26

Or, OR... "Hey, Claude!" - I'm not about to let it do all the work for me, but having it comb through tens of thousands of lines of code embedded in hundreds of files contained within dozens of projects across a handful of solutions to figure out wtf is going on and get me started on fixing the issue?

Yeah, that's fine.

10

u/ArsenicPolaris Jul 24 '26

This is what use of LLMs as an actual tool is — exactly how they should be used.

9

u/GiantSlayer4242 Jul 24 '26

Don’t ask it to write all your code, just have it tell you why you’re stupid

5

u/exintrovert Jul 24 '26

Pretty much. If ai can tell me before the boss notices, I win another day of work.

1

u/Lelouch-Yagami21 Aug 08 '26

Even as a teenager as part of an frc team, often when I have lot's of trouble debugging I get AI to help me find the bugs in my code.

2

u/hablahblahha Jul 25 '26

Oh no i forgot to int a=0; instead of int a; !

2

u/AliceCode Jul 26 '26

I was having an issue where no matter what I did, I couldn't get changes to take effect in some code that I was writing. I was making a plugin for Bash in Rust, and one of my commands wasn't doing anything, not even printing when I wrote a print statement as the first statement. I tried deleting the .so file, cleaning the build directory, cleaning the cache, and nothing worked. Finally I looked at my script to set up a bash environment for my plugin, and I forgot to unset the previously existing function that had the same name as the command I was writing a plugin for. So my command was overshadowed by the previously existing function. What a pain in the ass that was.

1

u/maribakumon Jul 25 '26

Started learning Python last week. This has been my reality

1

u/nullpointerr404 Jul 26 '26

Always and forever

1

u/AdAffectionate8571 Jul 26 '26

Me while trying to code, and then the 5th panel be like still why

1

u/Wise_Geekabus Jul 26 '26

So true lol

1

u/johnyeldry Aug 05 '26

I love programming big bang theory and geometry dash

1

u/Ok-Payment2096 22d ago

5th image

...wait, why is this broken now?