News for hackers. Stuff that matters.
Re:PHP in 2020 by captn3m0 on Tuesday January 21, 2020 @04:54PM (#22112077)
Why is nobody reading the damn article?

>I hope I was able to show you that PHP has evolved tremendously over the past years, and you're perfectly able to write clean and maintainable code with it.

Re:PHP in 2020 by notJim on Tuesday January 21, 2020 @05:30PM (#22112413)
People have been writing this take (and it has been true) for something like 5–10 years. I doubt anyone who didn't believe it was just waiting for PHP to get type annotations to be convinced.
Re:PHP in 2020 by rapfaria on Tuesday January 21, 2020 @05:25PM (#22112349)
HN mostly goes straight to the comments. And this is what people have to say about PHP...
Re:PHP in 2020 by chess93 on Tuesday January 21, 2020 @10:22PM (#22114290)
I have no php experience so I have absolutely zero conception of what the language used to be like, just what it looks like now. I can't help but see it as some kind of frankenlanguage put together with pieces of java/python/javascript and a ton of dollar signs.

In other words, it seems too similar to languages that I already know to be worth learning. Lisp was fun to learn because it is an alien language. C was worth learning because of its usability and centrality to modern computing. The only benefit I can see from learning php is being able to understand more of software history. Cool but I'd rather learn another lisp.

Does anyone disagree with my analysis? I wish the language well but I don't see what it offers me. Obviously it offers a lot to the people who see JS as franken-php and so forth.

Union types are cool though.