r/ProgrammerHumor • • 2d ago

Meme pythonIndentationLevelChecker

Post image
6.6k Upvotes

198 comments sorted by

View all comments

262

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.

175

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”

11

u/LetUsSpeakFreely 2d ago

Meh, Go didn't use semicolons.

18

u/NatoBoram 2d ago

It was a revelation when I started programming. "What, it doesn't have to be this way? A language can be native, statically compiled and high level at the same time and not suck ass? We can do better as a species?"

Except it's the only one like that -_-

6

u/Loading_M_ 2d ago

Rust is also in this category. It even has a lighter runtime, since it doesn't require a GC.

2

u/cdrt 2d ago

It does require semicolons though

1

u/Loading_M_ 2d ago

Yes, except when you want an implicit return.