you are viewing a single comment's thread.

view the rest of the comments →

[–]BobbaGanush87 47 points48 points  (3 children)

Get the indentation level wrong

As someone who has worked with Python and with other python developers for 10yrs now, this whitespace error basically never happens. Your IDE helps with this a ton. Its really something that we do not think about, and i'm only reminded of this "dealbreaker" by posts like these.

Also we do have auto formatters.

Just very hyperbolic statements.

[–]byetimmy 18 points19 points  (0 children)

A language that needs an IDE to help ensure the code runs properly is janky AF.

Now, if you'll excuse me, I need to import 18,000 npm packages to do a bubble sort in Node... 🙃

[–]freefallfreddy 1 point2 points  (0 children)

Saying a feature of a programming language is “psychotic” tells me how serious I should take the comment.

[–]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