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

I don't think they accidentally became popular.

The features which make a language rise rapidly might just be different to the features that make a language "good".

PHP in particular is amazing for getting started at speed. I remember taking a HTML file and popping in a couple of lines of PHP in the middle. I still haven't found anything anywhere near that easy for making a server backed website.




You aren't the first person to think of this. It is otherwise known as Worse is Better[1]. Stuff that doesn't have all of that nice formalism but lets you get simple applications working without a lot of up-front training and boilerplate tends to be what people gravitate towards instead of "properly designed" languages.

[1] https://en.wikipedia.org/wiki/Worse_is_better


For very limited tasks that PHP is still oddly popular for: NGINX's Server Side Includes module. ;)

If that's already your web server, anyway.




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

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

Search: