this post was submitted on 02 Aug 2024
10 points (100.0% liked)

Programmer Humor

19154 readers
2012 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
 
top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 month ago

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.

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

echo __LINE__ . "Moo\n";

Honestly if you're not including the LoC in your debug statement I don't even fucking understand you.

But yeah, senior devs know the power of breadcrumb debugging (because most of us were deeply scarred by gdb).

[–] [email protected] 1 points 1 month ago

Did GDB do something bad at some point?

[–] [email protected] 1 points 1 month ago

dbg!() for Rust users