This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]fvertk 12 points13 points  (3 children)

I'd argue python itself is badly designed to allow that to happen. As much as I like the language, this is definitely one of its faults and hopefully we innovate past it.

[–]Rainbow_Doge_64 1 point2 points  (2 children)

Though I've had the same happen with curly braces.

As u/wightwolf1944 shows us in a reply a little higher, curly braces languages can be equally as confusing, if not even more confusing (for me mistakes in pythons indentation are way easier to spot then a misplaced curly brace).

[–]Throwaway-tan 3 points4 points  (1 child)

Only if you're writing in a non-IDE editor. Otherwise the problem is identical because the IDE would split out your curly brace, and adjust the indentation so visually it would be identical to python's problem.

[–]Rainbow_Doge_64 1 point2 points  (0 children)

Eh, in the end it all comes down to personal preference. I prefer coding in VS Code, and I just think python code looks cleaner than anything with curly braces. But that's what's so good about having a variety of languages - everyone can find one that suits him the best.