Namespaces by 2020? That'd be nice. The \ syntax still makes my eyes bleed a bit, when most others use . or :
Re:Why I use Object Pascal
by CiPHPerCoder on Tuesday October 17, 2017 @04:25PM
(#15494603)
You might want to go see a doctor and get that checked out then.
Just because "most others use . or :" doesn't mean it's the only correct syntax in the realm of possibility.
Re:Why I use Object Pascal
by emodendroket on Tuesday October 17, 2017 @08:18PM
(#15496033)
I think there's some reason they landed on that one, but seriously, if that's your biggest complaint about the language...
Re:Why I use Object Pascal
by emodendroket on Tuesday October 17, 2017 @08:19PM
(#15496038)
I've posted this before but I've really been pleasantly surprised by how good working in PHP7 is. It's not my favorite but I certainly like it more than Ruby.
Modern PHP development almost exclusively uses Composer libraries rather than the standard libraries, which overwhelmingly use namespaces in Vendor\Project format.
There's going to be a push to clean up the standard library in the coming years. The plan is to introduce a namespaced alternative to the standard library in the global namespace which also cleans up a lot of nits (e.g. phpsadness.com posts). Maybe in PHP 8? Then when the ecosystem catches up, we can discuss deprecating/removing the "just dumped in global" way of doing things in PHP 9.
Source: I'm very likely going to be the main person driving this push.