I understand the jab at jQuery, because it’s now either made useless by modern browsers or superseded by better libraries.
But I never understand why people assume Python is somehow more modern / better than PHP. Both languages were initially developed in the 90s (Python is actually older), both are widely used, still heavily developed, and have comparable performance.
So yeah, if we’re still using them after 25 years, chances are we’ll still use them in 10 years, but there’s no need to single out PHP.
I never understand why people assume Python is somehow more modern / better than PHP
I think being associated with machine learning and data science might have something to do with it.
Modern PHP’s performance is better than Python’s, from what I’ve seen. Where it’s not, it’s because the heavy lifting in Python is being done in a C library instead. (Eg, machine learning.)
Actually, I think PHP 7.4 + is more modern than python. The oop-features are simple and clear, while in python you can do the graciest things. But I miss async in php.
But I never understand why people assume Python is somehow more modern / better than PHP.
Because it’s 2020 and we still have to start every class file with “<?php” tag.
It’s because php bad lulz /s
Despite it’s shortcomings it’s still everywhere and getting better with every release.
IMO it’s because php easily allows you to write garbage code. You can write bad code in every language but php is kinda famous for it. Especially new devs like guidelines and now with all that AI around Python became quite famous. I personally using Rubix ML and I’m quite happy with it 🤷
r/im14andthisisdeep
I still use jQuery. I prefer the simplicity.
No, this is called “I prefer my habits”. The modern JS/HTML5 is actually simpler than Jquery, sometimes much simpler. But you need to learn it of course.
Members
Online