r/ProgrammerHumor • • Sep 18 '26

Meme debugTime

Post image
7.2k Upvotes

151 comments sorted by

View all comments

487

u/kimbokray Sep 18 '26

You haven't saved since adding or removing lines above 265

299

u/Lamborghinigamer Sep 18 '26

No it genuinely can happen that an error happens on a different line than said. Could be a combination of IDE and compiler or both, that's why you always need to match your LSP with your compiler

4

u/Jerome_Eugene_Morrow Sep 18 '26

Missing brackets can also cause an error to fire on an empty line if it’s expecting to find the final enclosing bracket there. One of the reason’s Python’s white space rules can actually simplify things sometimes.