Comment

Comment by BanazirGalbasi

Python uses indentation for nested scope (I think that's the right term). While other languages might use curly braces or even keywords like do and end to enclose loops and functions, Python uses indentation. It ensures code is readable, but coding newbies have to learn about whitespace errors AND scoping together. It's one of the parts of the language I dislike the most.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton