Hacker News new | ask | show | jobs
by LexiMax 174 days ago
> Here, I would argue that we can effectively prove that hanging indentation is vastly more parallel to natural language than braces.

I see where you're coming from. However, I would counter that in the use cases you've shown, as well as all of the use cases I've seen in the real world, there are important differences between them and Python.

1. Hanging indentation is most often used in things that are small in scope, where you can easily see both the start and the end of the list. Python blocks can grow without bound.

2. Hanging indentation in real life doesn't require perfect alignment. Python does.