3 ms·
> Python is widely described as a simple language, but the complexity > of attribute lookup is one thing that shows that's not true at all. Python is a simpl
by dotancohen 5y ago
> Python is widely described as a simple language, but the complexity
> of attribute lookup is one thing that shows that's not true at all.
Python is a simple language to _learn_. My children learned the basics of Python before their seventh birthdays. But Python is not a simple language to _implement_.
- pansa2 5y agoIt’s an easy language to learn the basics of, sure. But the complexity of things like attribute lookup doesn’t only affect language implementors. The complexity is all exposed to Python programmers, which makes the language hard to master and, unlike truly simple languages, too large for anyone to understand completely.
- GeorgeTirebiter 5y agoThere was a time (during Python 2 days) where one could master the language - completely. Today's 3.10 is indeed a very large language; fortunately, one doesn't have to exercise every new feature. And, it's pretty easy to find examples of all features that one might stumble across while reading other people's code.