4 ms·
I agree the language is very readable overall but I find the whitespace based syntax less readable and practical compared to just using curly braces. Editors ca
by alpaca128 3y ago
I agree the language is very readable overall but I find the whitespace based syntax less readable and practical compared to just using curly braces. Editors can color matching pairs, let me jump between start and end of a scope, select all lines between two braces etc and all that just doesn't work in Python. Also I find it more difficult to see where a scope ends. It has upsides too and is not a huge deal but I often wonder why people prefer this so much.
Imho the reason for Python's success is mainly how easy and quick it is to learn, and how little time it takes to get something running. That alone removes so much frustration and perceived effort.
- mixmastamyk 3y agoTry turning on indentation guides in your editor, they help to visualize scope. If you are moving around large blocks often, well maybe they are too big? There are linters that can help with that kind of thing.