Re: RFC proposal : "new" keyword shorthand
| From: | Erick de Azevedo Lima | Date: | Sat, 08 Jun 2024 00:49:53 +0000 |
| Subject: | Re: RFC proposal : "new" keyword shorthand | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123557@lists.php.net to get a copy of this message | ||
> Please, don't make PHP as unreadable as Perl. IMO It's two extra
characters at worst and would be solved much more elegantly by removing the
new keyword entirely.
The new keyword is meaningful and everyone knows what's being done just by
looking at it. Removing it would make the language less readable. But it's
a BC so big that I don't think it can be done anyway.
--
Erick