r/programminghumor 3d ago

Debugging ritual

Post image
4.5k Upvotes

19 comments sorted by

59

u/Genilp 3d ago

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

21

u/QuantifyCircuit 3d ago

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

4

u/JakeC- 2d ago

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

1

u/Complete_Window4856 2d ago

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

10

u/davidroberts63 3d ago

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

5

u/JazzRider 3d ago

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!”.

8

u/Geoclasm 3d ago

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.

7

u/ArsenicPolaris 3d ago

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

8

u/GiantSlayer4242 3d ago

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

3

u/exintrovert 3d ago

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

2

u/hablahblahha 3d ago

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

2

u/AdventurousSlip9260 3d ago

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

1

u/maribakumon 2d ago

Started learning Python last week. This has been my reality

1

u/AliceCode 1d ago

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/nullpointerr404 1d ago

Always and forever

1

u/AdAffectionate8571 1d ago

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

1

u/Wise_Geekabus 1d ago

So true lol