Re: [RFC][Vote] Typed Properties

From: Date: Wed, 22 Jun 2016 16:49:25 +0000
Subject: Re: [RFC][Vote] Typed Properties
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-94209@lists.php.net to get a copy of this message
On 06/22/2016 10:58 AM, Rasmus Schultz wrote:
The learning curve for new users isn't increased by the introduction of property type-hints, it's *decreased*
I want to put that line on a plaque. It applies for a lot of features being offered for PHP: They do actually make the language easier, not harder, by making the baseline language more consistent, robust, and coherent. The same argument can, and likely will, be made for native async; sure it *can* be done in userspace, but doing it in a standard way in the language will make it *easer*, not harder, to use PHP to its full potential. No, this is not true of every new language feature, but it is true of many of them. The language needs to serve the ecosystem, not vice versa. --Larry Garfield

« previous php.internals (#94209) next »