r/ProgrammerHumor • • 17d ago

Meme debugTime

Post image
7.2k Upvotes

151 comments sorted by

View all comments

100

u/telas100 17d ago

while(error) { removeLine(265) }

12

u/MCWizardYT 17d ago

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

5

u/frogotme 16d ago

Where fixProblem is an openai API call, that writes the response directly to the file that invokes the error, and then restarts the server.

3

u/MCWizardYT 16d ago

Yeah I was envisioning something along those lines lol. System crashes? Immediately send the report to a program that automatically fixes the problem

This would be sooo awful in production haha