3 ms·
I could have chose a better comparison but you really are completely misconstruing the point just to be edgy, i.e haha very funny but no. Your bank is probably
by jpgvm 5y ago
I could have chose a better comparison but you really are completely misconstruing the point just to be edgy, i.e haha very funny but no.
Your bank is probably running 90% Java. Every large website you use may not be written in Java but relies on mission critical systems that are etc. It's an insanely practical language, in fact probably -the- most practical language and that is why it's chosen overwhelmingly for important systems that need a large number of developers.
- dncornholio 5y agoNobody's saying banks should use PHP as their backend though.
- jpgvm 5y agoIf PHP was as good as Java (which you are arguing) then they could. But they don't. Why is that?
- Zababa 5y agoThere is no single dimension measure of how "good" a programming language is.
- dncornholio 5y agoAgain, good is subjective! Most programming languages are 'good'. Some are just better in doing certain stuff than others. Doesn't mean the other languages are bad. Different doesn't mean worse, or better, without context.
- Zababa 5y ago> you really are completely misconstruing the point just to be edgy I'm misconstruing the point because I don't like analogies, especially when they only bring confusion. There's no need to bring cars into a discussion about Java and PHP. Programming languages are programming languages, cars are cars. > It's an insanely practical language, in fact probably -the- most practical language and that is why it's chosen overwhelmingly for important systems that need a large number of developers. Java being practical is part of it, its marketing to managers is also part of it. But being the most practical language for "important systems that need a large number of developers" doesn't mean that it's the most practical language for everything. To answer your first question: > So while PHP is ok, why choose PHP when you can choose Java/Kotlin? When you're a single developer that does lots of small projects, PHP works really well. In a way, it allows you to go faster at first. Depending on your business, that may be the most important thing, or not important at all. While my bank is surely running 90% Java, I would bet that there are many internal applications that saves people a ton of time that are written in PHP. That's how it was at my last job at <BIG COMPANY>.