this post was submitted on 10 Sep 2023
293 points (94.3% liked)

Programmer Humor

19551 readers
1012 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
[–] [email protected] 21 points 1 year 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.

[–] [email protected] 6 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 4 points 1 year ago

Been there, done that

[–] [email protected] 2 points 1 year 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.