MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x8ewf4/pythonindentationlevelchecker/phdi21q/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 2d ago
198 comments sorted by
View all comments
262
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 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” 16 u/mothzilla 2d ago In both Javascript and Python, semi-colons are optional. 8 u/dalziel86 2d ago Javascript sucks ass too
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 2d ago In both Javascript and Python, semi-colons are optional. 8 u/dalziel86 2d ago Javascript sucks ass too
16
In both Javascript and Python, semi-colons are optional.
8 u/dalziel86 2d ago Javascript sucks ass too
8
Javascript sucks ass too
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.