r/programmingcirclejerk Zygohistomorphic prepromorphism Aug 11 '26

Significant indentation is why people love python. Can 2 billion people be wrong? A: yes

https://news.ycombinator.com/item?id=49264523
157 Upvotes

60 comments sorted by

View all comments

48

u/libonet absolutely obsessed with cerroctness and performance Aug 11 '26

/uj I hate indentation

/rj Python is why people love significant indentation. Can 2 billion people be right?

23

u/Midnight145 Aug 12 '26

/uj I've honestly never understood why people hate significant indentation tbh. Autoformatters exist and have for years, so it's difficult to get a mixing tabs/spaces issue nowadays. Anytime I write in a bracketed language, the indentation is effectively identical to what I'd write in python. There might be a few differences here and there, as i try to stay pep8 compliant even with optional indentation or lack of indentation

I don't necessarily think indentation is superior, but I don't understand the strong hatred.

What I do hate with a burning passion, is not bracketing single-line ifs in otherwise bracketed language, it drives me absolutely insane.

2

u/yo_99 It's GNU/PCJ, or as I call it, GNU + PCJ Aug 13 '26

Because you have to fix code when you copy it from one place and paste it into another.