|
|
|
|
|
by gregjor
807 days ago
|
|
You would have to compare PHP to the alternatives available at the time. Originally PHP replaced Perl and ASP, which have their own problems and no static types (back then). Ruby/Rails came out and got traction but was slow, buggy, and still no types. Python also slow, no types, and not great for web development. Then we got Javascript and Node, with even less sensible types (no integers!) so you have to use Typescript and lots of tooling to get what PHP offers. In enterprise environments Java and then C#/.Net dominated and did have strong typing, but that’s not the world of PHP. Comparing PHP from a decade or longer in the past to Go et al. hardly seems apples to apples. So if you want to dismiss PHP as “shitty” compared to “most others” define shitty and identify the others. |
|
And im pretty sure that the history of PHP is still everywere inside PHP, like php function inconsistencies across the board.
Or whats the current situation on unicode support?
When i started with PHP4 and Lamp, what a great time. JavaEE was bloated, not a lot of good free webservers available, granted.
But while PHP5 was great and had a loooong shelflife, JEE became much cooler and had fundamental critical things like CDI and really good CDI Frameworks.
Eclipse Java IDE was always really good, something PHP hadn't had for ages.
And if you look at the fundamental difference between lets say java and php: In Java you have specs and reference implementations (partially also thanks to oracle, you now have mulitply companies having their JVMs) which made the JVM very robust and fast.
When Facebook did the hhvm/hack stuff, that was great and pushed enough nerves to rethink the performance of PHP but the performance gains were stupid crazy. Thats a very good indication when a language with so little money and support has such a huge performance gain after such a long time existing.
The fact that Facebook than threw the PHP community under the bus with hhvm/hack didn't make it better.