Re: [VOTE] Abstract final / Static classes
| From: | guilhermeblanco@gmail.com | Date: | Tue, 23 Dec 2014 00:08:22 +0000 |
| Subject: | Re: [VOTE] Abstract final / Static classes | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79872@lists.php.net to get a copy of this message | ||
Hi everyone,
Voting is now closed.
Since this RFC required a 2/3 majority, the result is against the
implementation of this feature in PHP.
RFC is now updated and moved to withdrawn section.
Thanks,
On Fri, Dec 19, 2014 at 10:43 PM, Tjerk Meesters <tjerk.meesters@gmail.com>
wrote:
>
> > On 13 Dec 2014, at 00:35, guilhermeblanco@gmail.com wrote:
> >
> > RFC is updated exposing both possible usages with both explanations.
> > Hope it doesn't confuse even more.
>
> Hi, in your "As static class� example, it doesn’t really demonstrate that
> you can omit the “static� modifier from the function declarations.
>
> Also, it’s not clear if the same applies to “As abstract final�.
>
> >
> > On Fri, Dec 12, 2014 at 11:30 AM, Florian Margaine <florian@margaine.com
> >
> > wrote:
> >>
> >> Hi,
> >>
> >> Le 12 déc. 2014 17:28, "guilhermeblanco@gmail.com" <
> >> guilhermeblanco@gmail.com> a écrit :
> >>>
> >>> It's part of the history of that RFC, accessible here:
> >>
> >> https://wiki.php.net/rfc/abstract_final_class?rev=1417060830
> >>>
> >>
> >> But then it isn't clear as of right now. What is proposed? The example?
> >> The votes? What does
final has to do with
> >> static?
> >>
> >> I'm confused.
> >>
> >>> On Fri, Dec 12, 2014 at 11:18 AM, Florian Margaine <
> florian@margaine.com>
> >> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>>
> >>>>
> >>>> On Fri, Dec 12, 2014 at 5:12 PM, guilhermeblanco@gmail.com <
> >> guilhermeblanco@gmail.com> wrote:
> >>>>>
> >>>>> Hi internals,
> >>>>>
> >>>>> After a good round of discussion, I updated the original "abstract
> >> final
> >>>>> class" proposal into a "static class" proposal.
> >>>>> However, I kept both patches online so it's up to voters decide which
> >> one
> >>>>> it could be implemented.
> >>>>> Patches are now complete and voting phase starts now and will be
> active
> >>>>> until 12/19/2014.
> >>>>>
> >>>>> As this is a language update, it requires 2/3 pro or against the
> >> feature.
> >>>>>
> >>>>> https://wiki.php.net/rfc/abstract_final_classžx
> >>>>> ÷ »»´QxŒ;bí¨
> >>>>
> >>>>
> >>>> Why does the example use final?
> >>>>
> >>>> final static class Environment
> >>>> {
> >>>> private static $rootDirectory = '/var/www/project';
> >>>> public static function getRootDirectory()
> >>>> {
> >>>> return self::$rootDirectory;
> >>>> }
> >>>> }
> >>>>
> >>>> Also, the vote presents 2 options. The RFC is in a weird state where
> it
> >> mentions "abstract final" but doesn't explain anything about them. The
> >> votes don't seem to be what the example is...
> >>>>
> >>>> Could you edit your RFC?
> >>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> Happy voting!
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> --
> >>>>> Guilherme Blanco
> >>>>> MSN: guilhermeblanco@hotmail.com
> >>>>> GTalk: guilhermeblanco
> >>>>> Toronto - ON/Canada
> >>>>
> >>>>
> >>>> Cheers,
> >>>> --
> >>>> Florian Margaine
> >>>
> >>>
> >>>
> >>> --
> >>> Guilherme Blanco
> >>> MSN: guilhermeblanco@hotmail.com
> >>> GTalk: guilhermeblanco
> >>> Toronto - ON/Canada
> >>
> >> Cheers,
> >> Florian
> >>
> >
> >
> > --
> > Guilherme Blanco
> > MSN: guilhermeblanco@hotmail.com
> > GTalk: guilhermeblanco
> > Toronto - ON/Canada
>
>
--
Guilherme Blanco
MSN: guilhermeblanco@hotmail.com
GTalk: guilhermeblanco
Toronto - ON/Canada