It's my favourite feature of Python and I actively seek out other languages that make this terrible choice.
I regularly use Python and a couple of curly brace languages and coming back to Python always feels like a breath of fresh air.
It's my favourite feature of Python and I actively seek out other languages that make this terrible choice.
I regularly use Python and a couple of curly brace languages and coming back to Python always feels like a breath of fresh air.
That’s a good way to put it. Significant indentation makes the syntax so much more lightweight.
This image [0] is supposed to be a joke, but to me it clearly demonstrates how braces and semicolons are both ugly and redundant.
[0] https://www.reddit.com/r/ProgrammerHumor/comments/2wrxyt/
> It's my favourite feature of Python
It's like the speed bump: It's for people who can't follow simple rules. It inconveniences you, but is rationalized with that it ultimately makes the world a little safer for everyone, including you.
Me, I unindent temporary code like debug-print statements and literals overriding actual data. This makes it impossible to commit by accident.
But my argument against whitespace sensitivity would be that bad and unreadable code is bad and unreadable regardless of its whitespace. In fact, force-formatting it just hides the evidence.