3 ms·
It's really not a lot to grok, at least by most other language's standards. PHP has a long history of doing things in a "right way" that subscribes to copying
by Daishiman 4y ago
It's really not a lot to grok, at least by most other language's standards.
PHP has a long history of doing things in a "right way" that subscribes to copying whatever one language is doing for 5 years. It first did things the C way, then the Java way, then got inspired by Ruby and Javascript, etc. The features are there, but executed in very awkward ways.
Ruby as a language explicitly blesses many ways to do the same thing.
Every new release in C# seems to bring in as many features as you'd get in 4 or 5 major Python or Java releases.
I look at the Python I wrote 8 years ago and it's _fine_. Even Python 2.6 code written with large frameworks looks similar enough to modern Python. The same can't be said for Javascript, Java (Java's best practices have changed a lot since then), C++, or C#.
- vertere 4y ago> It's really not a lot to grok, at least by most other language's standards. Yes, but people have been attracted to Python largely because it's not like a lot of other languages. It is/was concise, simple, dynamic and fairly easy to learn. I think some of the new features, even if they don't make it a worse language, make it less "Pythonic", and so tend to undermine its comparative advantage. For experienced programmers the new features might not seem complicated, but python is used by a lot of people who are not in that category, including people for whom software development isn't their primary job.
- Daishiman 4y agoI agree for the most part; I have not seen the use of the walrus operator or many new features of the last two major Python releases. Nontheless, as a user of the language I just don't see people trying to contort their code to use these things. The community has less attraction to flashy features than other languages, so I don't see people getting compelled to use things they don't care for.