RE: [PHP-DEV] RFC: Expectations
| From: | Zeev Suraski | Date: | Mon, 16 Feb 2015 09:47:12 +0000 |
| Subject: | RE: [PHP-DEV] RFC: Expectations | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82799@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: yohgaki@gmail.com [mailto:yohgaki@gmail.com] On Behalf Of Yasuo
> Ohgaki
> Sent: Monday, February 16, 2015 11:45 AM
> To: Joe Watkins
> Cc: PHP internals
> Subject: Re: [PHP-DEV] RFC: Expectations
>
> Hi Joe,
>
> On Mon, Feb 16, 2015 at 6:37 PM, Joe Watkins <pthreads@pthreads.org>
> wrote:
>
> > I've had mostly negative feedback on the design-by-contract idea,
> > maybe it's a step too far.
> >
>
> I think introducing strict type safety for DbC like static/compiled
> languages is
> too far. I agree.
>
> The expectations RFC in its current form proposes that we introduce
> > zero-cost assertions, which are compatible with the current assertion
> > API.
> >
> > Since this has been in discussion for quite some time, Dmitry and
> > I propose that the patch is rewritten for PHP7 and we get to voting as
> > quickly as we are able.
> >
> > Please review the RFC, and provide feedback, if there are no
> > strong objections we will go ahead with a vote when the patch is
> > ready, in the coming days.
> >
>
> Big +1
>
> Regards,
From me as well.
Zeev