Re: [RFC] Typed Properties
| From: | Marco Pivetta | Date: | Sun, 08 Jul 2018 08:28:24 +0000 |
| Subject: | Re: [RFC] Typed Properties | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102645@lists.php.net to get a copy of this message | ||
Hi Lester,
Typed properties combined with value objects (quite widespread technique)
provide a decent level of safety at this point in time.
So far, there haven't been many nay-sayers to the patch: it's OK to vote
"no" if you don't understand or don't want the feature.
Greets,
Marco
On Sun, 8 Jul 2018, 10:19 Lester Caine, <lester@lsces.co.uk> wrote:
> On 08/07/18 00:35, Sara Golemon wrote:
> >> Personally, I think even independently of typed variables, typed
> properties feel like an 8.0 feature, not a 7.x feature.
> >>
> > I probably agree with you on that. (Again, still undecided).
>
> The debate seems to assume that Typed Properties ARE a done deal even
> without a vote? Personally I just feel all this is still going in the
> wrong direction and trying to work out where to go next is still
> detracting from getting new work done. In practice if I need 'typed'
> anything, I need types that actually return an advantage, and
> unrestricted 'int' and the like is NOT providing that!
>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk
> Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>