Re: Design by Contract
| From: | Yasuo Ohgaki | Date: | Wed, 11 Feb 2015 08:25:08 +0000 |
| Subject: | Re: Design by Contract | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82457@lists.php.net to get a copy of this message | ||
Hi Joe,
On Wed, Feb 11, 2015 at 5:12 PM, Joe Watkins <pthreads@pthreads.org> wrote:
> > Just a thought - what about something like __pre/__post? We own __*, so
> no BC problems.
>
> I'm not married to the words being used, at all.
>
> I think this is a good idea, we would need __pre, __post , and
> __invariant, or some combination of three.
>
> Any objection to using __ prefixed names, and any other suggestion for
> them, or just use the above ?
>
It's very close to my original idea, but I like current definition like
syntax.
No objection from me...
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net