If you can't write code with proper indentation unless the compiler interpreter forces you to, you're a moron. This feature is pretty damn pointless on Python, but I like other things about Python.
I always wonder why people feel so strongly about this. I agree, it's easy to get indentation right... so what's the problem? Who cares that it requires you to get the indentation right? Your experience won't change at all if you're not screwing it up.
If I had to rank language design decisions in terms of importance, I think whitespace vs curly braces would be one of the last items on the list. It just happens to be one of the simplest topics to understand which makes gives it a low barrier to entry for absurdly passionate stances.
Only Python coders are so obsessed with indentation. For every other language it's par for the course. Many people replying to me make it seem like Python is a sanctuary of proper indentation, and any code written in other languages is chaos with no indentation at all.
It's not hard at all to get indentation right, and for all the great things about Python, it's strict enforcing of indentation is not one of them.
10
u/evinrows Jul 25 '18
I always wonder why people feel so strongly about this. I agree, it's easy to get indentation right... so what's the problem? Who cares that it requires you to get the indentation right? Your experience won't change at all if you're not screwing it up.
If I had to rank language design decisions in terms of importance, I think whitespace vs curly braces would be one of the last items on the list. It just happens to be one of the simplest topics to understand which makes gives it a low barrier to entry for absurdly passionate stances.