News for hackers. Stuff that matters.
Re:Modern PHP by ipaddr on Sunday March 27, 2022 @08:53PM (#30825793)
Php has been around for 20+ years which means the pool of experienced developers is much larger than other ecosystems with new languages. Greenfield php projects by experienced developers are created everyday.

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.

Re:Modern PHP by theamk on Sunday March 27, 2022 @09:36PM (#30826095)
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.

Re:Modern PHP by jjeaff on Monday March 28, 2022 @12:52AM (#30827261)
Can you list off some successful web dev projects using Haskell right now?
Re:Modern PHP by cies on Monday March 28, 2022 @04:26AM (#30828414)
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.

Re:Modern PHP by cies on Monday March 28, 2022 @04:27AM (#30828425)
he's strawmanning me with this... I called him out, but he still keeps going.