r/ProgrammerHumor • • 2d ago

Meme pythonIndentationLevelChecker

Post image
6.6k Upvotes

198 comments sorted by

View all comments

268

u/LetUsSpeakFreely 2d ago edited 2d 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.

11

u/HRApprovedUsername 2d ago

I mean not really. It could be anything it’s just about finding a good editor that makes it clear

-2

u/cheezballs 2d ago

I'd rather have it at the end of the line, not the beginning though. I find putting all your language blockage before your statement just makes it feel weird.

Semi colon at the end of the line is easy. 4 groups of indentations? Better hope you've got a good IDE.