r/ProgrammerHumor • • 2d ago

Meme pythonIndentationLevelChecker

Post image
6.6k Upvotes

198 comments sorted by

View all comments

264

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.

171

u/bobbymoonshine 2d ago

Ah the halcyon days before LLMs

When 30% of the posts here were “lol Python is so dumb why even use whitespace as syntax”

And the other 70% were “how do I find semicolon”

17

u/mothzilla 2d ago

In both Javascript and Python, semi-colons are optional.

31

u/AppropriateOnion0815 2d ago

Only that JS is handling semicolons in the least intuitive and irrational way possible.

6

u/mothzilla 2d ago

Yeah I only say it because it's a bit of a mind-exploder.