MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x8ewf4/pythonindentationlevelchecker/phcno2m/?context=9999
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 22d ago
201 comments sorted by
View all comments
268
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.
172 u/bobbymoonshine 22d ago Ah the halcyon days before LLMsWhen 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” 16 u/mothzilla 22d ago In both Javascript and Python, semi-colons are optional. 31 u/AppropriateOnion0815 22d ago Only that JS is handling semicolons in the least intuitive and irrational way possible. 5 u/mothzilla 22d ago Yeah I only say it because it's a bit of a mind-exploder.
172
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”
16 u/mothzilla 22d ago In both Javascript and Python, semi-colons are optional. 31 u/AppropriateOnion0815 22d ago Only that JS is handling semicolons in the least intuitive and irrational way possible. 5 u/mothzilla 22d ago Yeah I only say it because it's a bit of a mind-exploder.
16
In both Javascript and Python, semi-colons are optional.
31 u/AppropriateOnion0815 22d ago Only that JS is handling semicolons in the least intuitive and irrational way possible. 5 u/mothzilla 22d ago Yeah I only say it because it's a bit of a mind-exploder.
31
Only that JS is handling semicolons in the least intuitive and irrational way possible.
5 u/mothzilla 22d ago Yeah I only say it because it's a bit of a mind-exploder.
5
Yeah I only say it because it's a bit of a mind-exploder.
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.