PHP struggles with attributes syntax
PHP struggles with attributes syntax
Posted Aug 7, 2020 5:09 UTC (Fri) by flussence (guest, #85566)In reply to: PHP struggles with attributes syntax by Cyberax
Parent article: PHP struggles with attributes syntax
Every syntax addition to PHP since 2005 feels like it's been forced by either a legacy design decision to use an ad-hoc giant switch statement parser for speed on CGI hosting, or an aversion to doing anything remotely risky for long-term benefit.
It became clear to me something wasn't right when namespaces were introduced; of all the possibilities and prior art out there, they instead went with *backslashes*.
