The idea is that there are different things that different languages offer, and you need to know "what's out there" before you can claim that one language is the best.
For example, if you never programmed in any of statically-typed languages, you cannot say if they are better or worse. Similar things go for OOP-oriented stuff, or immutable-by-default languages or languages with well-designed stdlib, etc...
You may still think that PHP is the best language after trying a few other, wildly different ones, and that's fine. But unfortunately, in my experience, a lot of people who really advertise PHP (and some other languages like Pascal), haven't really tried the alternatives.
Can you list off some successful web dev projects using Haskell right now?
Hasura, JanRain, tools made by Oblomov, Silk (discontinued), Wagon.
Re:Modern PHP
by theonething on Sunday March 27, 2022 @10:46PM
(#30826563)
> When someone brings up haskell as a best choice for server side web development as a replacement for php
Who is saying that? I've read through this thread and I have not read anything to that effect.
When someone brings up haskell as a best choice for server side web development as a replacement for php it makes me think this person is either very new or trying virtual signal that they are smarter and more skilled because they use a more difficult powerful language. That's like saying building a laser from a kit to cut your bread is better than using a knife. Nevermind the cost, time, safety, availability of parts and employee market for each skill would clearly point to a knife as the best tool. Very few companies still in business build a laser when they need a knife.