▲ | WD-42 4 days ago | ||||||||||||||||
I’m curious what about the language is getting more complex. Any examples? The ecosystem definitely seems to be getting much more complex, but the language itself hasn’t evolved dramatically since type hints that I can remember. | |||||||||||||||||
▲ | jibal 4 days ago | parent | next [-] | ||||||||||||||||
I've been as programmer for 60 years. I know perl well and it was my go-to scripting language for years although I hated the sigils various other design choices. Only within this year did I set aside the time to learn Python. It didn't take long ... the language is not complex. Of course the libraries and frameworks and deployment tools etc. are extensive and dense and complex because the world has become so complex, extraordinarily so compared to the world when I started programming. | |||||||||||||||||
| |||||||||||||||||
▲ | pansa2 4 days ago | parent | prev [-] | ||||||||||||||||
Type hints aren’t a single addition - with every release they get more complex. It wouldn’t surprise me if the language included 20+ typing-related PEPs by now. The other obvious example of complexity is pattern matching. The feature is very complex, especially how it breaks established rules of the language. It also required fundamental changes to the interpreter to accommodate it: a rewrite of the parser from simple LL(1) to PEG. | |||||||||||||||||
|