3 ms·
82% of the websites on the Internet are powered by PHP, not Java. A lot of these decisions are based on "what will pay the bills today and in the immediate fut
by CiPHPerCoder 9y ago
82% of the websites on the Internet are powered by PHP, not Java.
A lot of these decisions are based on "what will pay the bills today and in the immediate future?" rather than purist idealism.
A lot of businesses use Java. Java experience is more useful for getting into mobile app development with Android. There's value to be had in learning and writing Java. But the demand for PHP doesn't cease to exist because Java is cool or useful.
https://w3techs.com/technologies/overview/programming_language/all https://w3techs.com/technologies/overview/programming_langua...
- astrodust 9y ago82% of business applications used to be written with COBOL or FORTRAN. What's your point? Things change, sometimes dramatically. PHP has vastly out-lived its welcome. I'm not saying Java is immeasurably better, it's got a whole different set of problems, but it's an example of a language that's got a better tool-set than PHP ever will. The debugging tools for Java are really amazing because writing good, threaded Java code can be wickedly hard. The tools for PHP are absolutely anemic by comparison because it's never had the same exposure to enterprise environments. I'm no fan of Java, but if you're writing Java, you may as well write Java.
- voidr 9y ago> 82% of business applications used to be written with COBOL or FORTRAN. 'used to be' being the key words here. PHP is __still__ being used. > PHP has vastly out-lived its welcome. Care to explain why you believe that? C is older than PHP and is still around. > but it's an example of a language that's got a better tool-set than PHP ever will. Don't know about the PHP toolset you have been using, but I take Composer over Maven any day. If you are talking about IDE support, PHP7 IDE support is as good as Java IDE support. Can you give me examples of tools that are better in Java? > The debugging tools for Java are really amazing because writing good, threaded Java code can be wickedly hard. The tools for PHP are absolutely anemic by comparison because it's never had the same exposure to enterprise environments. PHP web applications use a process-based model, therefore debugging threads is irrelevant. > I'm no fan of Java, but if you're writing Java, you may as well write Java. I recommend you try out the latest Spring framework(Java) and then go try out the latest Symfony(PHP) and you'll see why you would want to use PHP in some cases despite it having similar OOisms.