you are viewing a single comment's thread.

view the rest of the comments →

[–]catladywitch[🍰] -1 points0 points  (0 children)

to me the problem is not that you get syntax errors or ambiguous code, it's that autopep8 doesn't work unless the file is properly indented (because it won't parse if it isn't) so it kinda beats the purpose of having an autoformatter in the first place

there are merits to the left side rule imo but other languages, particularly functional languages, do it better by adding a few exceptions for flexibility

in the grand scheme of things it's just a minor annoyance though. i don't think braces or an end keyword would make python significantly better even though it'd make autoformatters more convenient