11 ms·
There are definitely parts of PHP and its ecosystem that have been trying to copy Java. On the flip side, PHP is quite similar to Java when it comes to its valu
by kijin 5y ago
There are definitely parts of PHP and its ecosystem that have been trying to copy Java. On the flip side, PHP is quite similar to Java when it comes to its value proposition, so I can appreciate why the devs have chosen that path. Like Java, PHP is stable and slow-moving. It takes backward compatibility seriously, and it has a huge community. PHP is to small-time "webmasters" and lifestyle businesses what Java is to governments and large corporations.
If you want to build something once and get passive income out of it for the better part of a decade, PHP has your back. Pinboard is a prime example of this business model.
If you're a fast-moving startup who will replace your entire codebase every six months, you might be better served by JS.
- cies 5y agoWhy would one pick PHP over Java except because "you already know PHP"? > If you're a fast-moving startup who will replace your entire codebase every six months, you might be better served by JS. Noooooo... :)
- kijin 5y ago> Why would one pick PHP over Java except because "you already know PHP"? If it's a lifestyle business or hobby project, it usually costs less to host a PHP app somewhere than to find a place where you can get decent performance out of the JVM. Even a small droplet can be a lot of money and effort for some people in some parts of the world. I often see kids pick up PHP for this reason alone. Then they stick with what they know.