|
|
|
|
|
by dmitriid
1262 days ago
|
|
> The IDE doesn't need to figure out whether the program is correct. Only has to treat code blocks as defined by the language syntax. Exactly. It treats these blocks as such. And it will inevitably format them incorrectly from the programmer's point of view. > because in both cases there is a precise rule to define where blocks start and end. And this precise rule inevitably formats code incorrectly from the programmer's point of view in a significant amount of cases. |
|
Only for programmers who are significantly unaware of how the Python language structures its code.
It's not that difficult really. And if you have problems visualizing them, you could use editors like Visual Studio Code, which highlights indentation so that you can see the start and end of blocks with colors, way easier than with start and end brackets.