News for hackers. Stuff that matters.
Re:PHP Sucks by qihqi on Thursday June 16, 2016 @01:38PM (#11917632)
PHP is like Javascript in that both languages are now being used to do what they were not designed for.
Re:PHP Sucks by spitcode on Monday June 20, 2016 @07:01PM (#11942292)
In my opinion JavaScript is being used exactly what it was intended for now more than ever. It was originally supposed to be based on Scheme (an elegant functional language) and after many years the trend of functional reactive programming has finally become mainstream.

I find it quite sad that most PHP developers seem to think that writing code that looks more like Java is the "correct" thing when its greatest features have always allowed loose types and first class functions. After all that's what makes it so easy to work with?

Perhaps PHP could have been more like Scala a few years back already.. the perfect combination of Objects and Functions...