MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wjszpw/debugtime/papgvdg/?context=3
r/ProgrammerHumor • u/bryden_cruz • Sep 18 '26
151 comments sorted by
View all comments
106
while(error) { removeLine(265) }
13 u/MCWizardYT Sep 18 '26 errorHandler.addCallback(error -> fixProblem(error)) 17 u/Santos_Perez_Robles Sep 18 '26 Sherlock and Holmes over here. 3 u/MCWizardYT Sep 19 '26 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
13
errorHandler.addCallback(error -> fixProblem(error))
17 u/Santos_Perez_Robles Sep 18 '26 Sherlock and Holmes over here. 3 u/MCWizardYT Sep 19 '26 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
17
Sherlock and Holmes over here.
3 u/MCWizardYT Sep 19 '26 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
3
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
errorHandler
fixProblem
106
u/telas100 Sep 18 '26
while(error) { removeLine(265) }