this post was submitted on 10 Sep 2023
291 points (94.5% liked)

Programmer Humor

23132 readers
1104 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] sebi@lemmy.world 21 points 2 years ago (2 children)

This is a professional debug techique, what are you talking about? But I rather use 'Hii' with various (but not ascending) amounts of i's.

[–] andrew@lemmy.stuart.fun 6 points 2 years ago* (last edited 2 years ago) (1 children)

Sometimes I use various swears. Depends on how long I've had to debug. Also depends on whose work I'm debugging and whether they're in earshot. Usually it's just my own sketchy code though.

[–] alphacyberranger@lemmy.world 4 points 2 years ago

Been there, done that

[–] dbilitated@aussie.zone 2 points 2 years ago

I've used a regex to add a console log to the top of every method with the method name before.

the things you do when you're desperate.