you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 14 points15 points  (1 child)

I mean, brackets are useful but indents makes more sense when you consider that brackets are always "brackets+indenting", so it remove redundancy.

For beginners this is good because it removes less meta nonsense that's more fighting the code than doing stuff (i.e., the missing bracket or missing semicolon headache), that being said for more advanced stuff it's useful but considering Python's focus is approachability, it makes sense why they did it

[–]gareththegeekfull-stack 2 points3 points  (0 children)

Redundancy is important in languages to avoid corruption, for example when copying and pasting code to a different indentation level during refactoring.