News for hackers. Stuff that matters.
Re:Modern PHP by user3939382 on Sunday March 27, 2022 @08:34PM (#30825656)
Your response is a perfect example of why these discussions are so difficult. What makes a language “good” depends heavily on your priorities and perspective.

I love Clojure, it’s so well designed. Haskell is hard to beat in terms of academic type correctness. But what if I’m trying to build a web app and my priorities were, ease of hiring and productivity, especially for junior devs, and a big ecosystem. Does Clojure win here against PHP? That’s a much harder argument to make. Would anyone say Rust is a better web development language than PHP?

All these tools have trade-offs. PHP is a fantastic choice for web development, the rough edges are becoming increasingly minimal with each successive version.

Re:Modern PHP by cultofmetatron on Monday March 28, 2022 @12:19AM (#30827109)
while there is certainly merit to choosing a language with a large talant pool. It drives me nuts how so many employers optimize for hiring juniors. Hiring a Junior is like getting a puppy and now you're picking a language that minimizes the scale of their messes.

I'd rather hire someone that knows what they are doing and give them tools to maximize the scale of their strengths.

2 good devs working in elixir, rails or clojure will accomplish far more than 10 juniors working in javascript or go.

Re:Modern PHP by cies on Monday March 28, 2022 @04:34AM (#30828478)
I much rather let juniors work on my Elm app than have on my JS app.

Strong typing helps me trust code is of certain quality.