this post was submitted on 17 Aug 2024
705 points (95.3% liked)
Programmer Humor
32316 readers
203 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah but due to the extra indentation in the second image, the python part doesn't work.
its just not as clear especially when u are indenting stuff inside stuff with a bunch of conditions everywhere its hard to read just from indentation, and with the () or {} u can just click on it and most text editors will show u from where to where its going.
That's an anti pattern in basically every language though. The fix is to simplify those conditionals, not use a curly-bracketed language.