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.
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
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
).
Did GDB do something bad at some point?
dbg!()
for Rust users