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

Programmer Humor

19594 readers
890 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
[–] sebi@lemmy.world 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.

[–] andrew@lemmy.stuart.fun 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.

[–] alphacyberranger@lemmy.world 4 points 1 year ago

Been there, done that

[–] dbilitated@aussie.zone 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.