News for hackers. Stuff that matters.
Re:PHP in 2019 by jbrooksuk on Wednesday May 15, 2019 @06:52AM (#19918131)
> but it is still the worse mainstream programming language.

Please back this up.

Re:PHP in 2019 by thibran on Wednesday May 15, 2019 @07:10AM (#19918229)
This is my opinion.

Some hints why I think PHP is not great:

* property type declaration in doc-strings * bad documentation * verry verbose for a dynamic language * a lot of inconsistencies * automatically loading of classes is a hack (psr4) which doesn't support importing functions without specifying it in a global project file

Re:PHP in 2019 by highesttide on Wednesday May 15, 2019 @07:49AM (#19918459)
As a note, typed properties are coming with 7.4.
Re:PHP in 2019 by thibran on Wednesday May 15, 2019 @03:02PM (#19922590)
And I welcome it. Also the shorter anonymous function syntax will improve the current situation by a good deal.
Re:PHP in 2019 by pdimitar on Wednesday May 15, 2019 @07:42AM (#19918413)
Re:PHP in 2019 by Lazare on Wednesday May 15, 2019 @09:00AM (#19918941)
I mean, apart from the huge number of items that have been fixed over the years, yeah.