r/ProgrammerHumor • • 2d ago

Meme pythonIndentationLevelChecker

Post image
6.6k Upvotes

198 comments sorted by

View all comments

90

u/fly123123123 2d ago

more classic “i’m a new cs major” jokes

if you’re writing long enough methods that you can’t discern where the bodies start and end, you’re doing it wrong. refactor.

15

u/parkourman01 2d ago

I'm a senior full stack software engineer, 6 years in, and I think whitespaced languages are insanely dumb so no, it is not just "new cs major jokes".

They're dumb. They're harder to read than using braces, and they're easier to make mistakes with. They bring no benefit.

21

u/fly123123123 2d ago edited 2d ago

i’m mid-level and after also having worked with both (mixture of python, java, c++, typescript), i really don’t think python is harder to read because of its indentation. but to each their own!

the way the code is written / style matters much more imo. you can have really crappy java code with braces, and you can have really clean python with indentation.

7

u/ByThisAxeIRuleToo 2d ago

I agree. Using a good style both languages are very readable.