Hacker News new | past | comments | ask | show | jobs | submit login

PHP is like Javascript in that both languages are now being used to do what they were not designed for.



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...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: