3 ms·
Not sure I agree with this. Here's why: new tech stacks crop up every few months, and they're all competing for the same developer brain space. If PHP wasn't ea
by osrec 7y ago
Not sure I agree with this. Here's why: new tech stacks crop up every few months, and they're all competing for the same developer brain space. If PHP wasn't easy, I'm certain the interest in it would have evaporated to a large extent. Yet even today, people are choosing to start their projects in PHP. I think it's simplicity has a lot to do with it.
- momokoko 7y agoBut PHP was essentially the original widely adopted lambda cloud function. 1,000s of dirt cheap shared hosting platforms showed up on the scene. The reason they could make the hosting so cheap was that the way PHP runs. You are only consuming resources when you are serving the request. To this day, cloud functions still deal with "cold starts", where this was already a solved problem with PHP shared hosting. All PHP needed to be was good enough. It was how it served pages that made it as popular as it was. Large disclaimer, I know a PHP shared host was not actually scalable like AWS Lambda. Just the idea that any small business could plop down a few servers and start selling shared PHP hosting was huge back then.
- h1d 7y agoIt's more like, would someone else be able to maintain the code I write with language X? And would the person trying to run it be able to run in their environment without fiddling with SSH access? If it's just me writing and deploying I use TypeScript but otherwise I tend to use PHP.