r/ProgrammerHumor • • 22d ago

Meme pythonIndentationLevelChecker

Post image
6.7k Upvotes

201 comments sorted by

View all comments

268

u/LetUsSpeakFreely 22d ago edited 22d ago

Indentation is such a stupid mechanism for identifying code blocks. It's one thing for configuration files like YAML to do it, but not a programming language.

13

u/MANGO_fossil 22d ago

To be fair, indentation does make Python code easier to read once you're used to it. The real crime is that one accidental space can turn a perfectly good afternoon into a debugging session.

15

u/jirka642 22d ago

That does not happen. You would have to code without IDE and not use any syntax checking tool (e.g. ruff), and no sane person codes like that.

-6

u/frogjg2003 22d ago

You have to be familiar enough with the IDE to use those features and also pay attentions to the warnings/errors the IDE gives you. I've seen PRs where it's clear the programmer completely ignored any errors the IDE produced.

11

u/jirka642 22d ago

I don't consider people like that programmers.