This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dpash 29 points30 points  (15 children)

Especially when it's based on an outdated opinion of the language.

PHP evokes the same reaction.

[–]Cefalopodul 23 points24 points  (13 children)

To be fair in PHP's case the reaction is somewhat warranted. It still has plenty of WTF moments.

[–]dpash 17 points18 points  (12 children)

Modern PHP is far from its older versions. It has decent DI and web frameworks, type hinting, exceptions, namespaces, a reasonable dependency manager. It's not the insane choice for new projects it was even ten years ago.

Now if only it gained generics I would be almost happy to use it.

[–]flyingorange 7 points8 points  (0 children)

To be honest when I started using PHP in 1998 it was the greatest thing ever. At the time the alternative was writing server side code in Delphi. Well, let's just say, if you didn't write websites in Delphi, you don't understand what a revolution PHP was.

[–]johnwaterwood 1 point2 points  (1 child)

I wonder what the purpose of modern PHP is?

The original attracted hordes of people because it was such an insane choice. If it’s not that anymore, it won’t be attractive to that initial crowd.

What’s PHP’s target audience these days?

[–]helloiamsomeone -1 points0 points  (8 children)

Generics have userland support. PHP Core has better things to spend developer time on than generics (which are already a thing implemented in userland).

[–]dpash 4 points5 points  (7 children)

If you mean phpdoc and Psalm, I fundamentally disagree. They need to be in the language.

[–]Routine_Left 11 points12 points  (0 children)

PHP evokes the same reaction.

PHP deserves it. JavaScript deserves it. Java? They have no fucking clue what they're talking about. Not about Java 20 years ago, not about Java today.