Re: [RFC Discussion] "var" Deprecation
| From: | James Titcumb | Date: | Mon, 14 Mar 2016 18:26:47 +0000 |
| Subject: | Re: [RFC Discussion] "var" Deprecation | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91660@lists.php.net to get a copy of this message | ||
On 14 Mar 2016 6:14 p.m., "Colin O'Dell" <colinodell@gmail.com> wrote:
>
> >
> > Forcing people to specify a visibility for properties and not for
methods
> > would add yet another inconsistency in the language.
> >
>
> That's a really good point.
Yup, agree with this. In my opinion, I'd like to see two birds with one
stone, but a separate RFC is acceptable I suppose. The only risk is one
change getting voted in and not the other, leaving an even worse
inconsistency IMO. I think this RFC should be all or nothing: require
visibility for both methods and properties, or do not require anything.