this post was submitted on 17 Aug 2024
713 points (95.4% liked)
Programmer Humor
32396 readers
1904 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.
I once wrote a bot in python tdownloaded a ical file, looked for chances and informed me if found. The space indentation made it hell to follow the code in my opinion.
I don't get it because my phyton code is indented exactly the same as all my other code. Each block of code one tab in/out, how else would you do it?
It's because there is no clear indication of where a block ends.
Here is some sample code. I find it difficult to tell how many indentations I have or where I need to write if I want to continue at a certain level.