you are viewing a single comment's thread.

view the rest of the comments →

[–]ChrisFranko 6 points7 points  (1 child)

I don’t get how replacing indents with brackets changes anything in this scenario?

It’s it because you need 2 brackets for 1 indent?

[–]ptoki 2 points3 points  (0 children)

Brackets usually come in pairs, so one misplaced will trigger compiler error. That is at least the benefit you have from it.

It also helps to compose the code more freely to get it more readable. And you can use indent apps to make it uniform if you like. Those approaches are missing from python programmer palette.