DEV Community

Discussion on: Why all this hate about Python?

Collapse
 
kenseehart profile image
kenseehart

The combination of braces to implement structure while using indentation to visually convey structure seems odd to me. Seems like a violation of the DRY principle.

Python removes that redundancy by using indentation for both, that way visual structure is always consistent with actual structure.

Whereas many other languages are redundant in that respect, which does not respect the DRY principle.

Wait, did I already say that?