by memracom · 11y ago · 0 comments
Python and Ruby will be with us for a long time, but PERL and PHP will die an ugly death. Facebook has already abandoned PHP in favor of a PHP subset that runs on a modern VM platform (HHVM). We can't all do that, but we can adopt tools that run on the JVM or take on a well-designed language like Python or Ruby or Javascript.
On the JVM we have things like Grails on Groovy, Clojure and Scala which have strong development teams and visions for the future.
PHP, like PERL, just doesn't fit in any more. We have moved beyond hacks and incorporated computer science into our development platforms in order to save time and money and fossil fuels.
It would be much more accurate to say that Facebook has invested heavily in PHP by financing an alternative runtime.
As time passes and better engineers that understand computer languages get involved in the core development, things have been drastically improved. This is true for Javascript, Python, and, yes, also for PHP.
Arguably the best JavaScript book is titled "JavaScript: the good parts." That is a pretty clear message that there are a lot of bad parts around.
I'd call it well designed AND most-misunderstood for this very reason.
And this 10-day argument really makes me smile every time I see it. You're barely using anything that was designed in 10 days, ES6 is already here and it changed thing a lot.
> On the JVM we have things like Grails on Groovy, Clojure and Scala which have strong development teams and visions for the future.
> PHP, like PERL, just doesn't fit in any more.
It's because you don't understand PHP's users perspective that you say these things. PHP isn't going away anytime soon. The most popular CMSs are written in PHP, not in Ruby,Python or Clojure. In the small business space, PHP is king, not Scala nor Groovy. Of course it's your opinion, but it's not based on any facts.
Grails is related to Groovy, but not to Clojure or to Scala. I'm sure you just typed it wrong, but I'm correcting you because some readers might get confused.
To be more precise, Groovy runs on Grails, not vice versa. And almost all of Grails, even Grails 3.0 just released, is written in Java, not Groovy. Groovy is merely provided for use by website builders using Grails. This is different to frameworks using Clojure and Scala, which not only provide the respective language for website builders, but are generally also written in the language rather than Java.