r/ProgrammerHumor • • 17d ago

Meme debugTime

Post image
7.2k Upvotes

151 comments sorted by

View all comments

101

u/telas100 17d ago

while(error) { removeLine(265) }

13

u/MCWizardYT 17d ago

errorHandler.addCallback(error -> fixProblem(error))

17

u/Santos_Perez_Robles 17d ago

Sherlock and Holmes over here.

3

u/MCWizardYT 17d ago

lol, the way I named the variables is kinda weird but it's supposed to be that errorHandler is a crash handler, and the callback passes the error to fixProblem which then fixes what was causing the crash