this post was submitted on 02 Aug 2024
762 points (97.7% liked)

Programmer Humor

19171 readers
1675 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
[–] henfredemars@infosec.pub 135 points 1 month ago (1 children)

All the debugging tools in the world doesn’t beat an excellent sense of intuition and putting that print statement exactly where it needs to be.

[–] ryannathans@aussie.zone 65 points 1 month ago (3 children)

As linus says, if you need to use a debugger your code is too complicated

[–] flying_sheep@lemmy.ml 38 points 1 month ago (2 children)

He works on Linux where he controls the whole stack down to the metal and I love that for him, but other people have to call library code, and them debug that if it doesn't work as they thought it would.

[–] rbits@lemm.ee 20 points 1 month ago (2 children)

Well then obviously if you use libraries, your code is too complicated

[–] Traister101@lemmy.today 10 points 1 month ago

Yep that's why I refuse to use standard libraries. It just makes my code too complicated...

[–] BleatingZombie@lemmy.world 2 points 1 month ago

Tell that to my employer

[–] zalgotext@sh.itjust.works 5 points 1 month ago

Right, the amount of times I've had to put breakpoints in Django/DRF code to figure out what's causing that weird undocumented behavior is concerningly large

[–] Theharpyeagle@lemmy.world 11 points 1 month ago

Dude can pry my debugger from my cold, dead hands.

[–] Cubes@lemm.ee 5 points 1 month ago

The problem is that sometimes it's not your code that you're debugging