AW: [PHP-DEV] Design by Contract

2015-02-15 Thread Robert Stoll
Hi François > -Ursprüngliche Nachricht- > Von: François Laupretre [mailto:franc...@php.net] > Gesendet: Sonntag, 15. Februar 2015 11:43 > An: 'Robert Stoll'; 'Yasuo Ohgaki' > Cc: 'Dmitry Stogov'; 'Joe Watkins'; 'Stanislav Malyshev'; 'PHP Internals' > Betreff: RE: [PHP-DEV] Design by Contra

AW: [PHP-DEV] Design by Contract

2015-02-14 Thread Robert Stoll
Hi Yasuo > -Ursprüngliche Nachricht- > Von: yohg...@gmail.com [mailto:yohg...@gmail.com] Im Auftrag von Yasuo Ohgaki > Gesendet: Samstag, 14. Februar 2015 23:54 > An: Robert Stoll > Cc: francois; Dmitry Stogov; Joe Watkins; Stanislav Malyshev; PHP Internals > Betreff: Re: [PHP-DEV] Design

AW: [PHP-DEV] Design by Contract

2015-02-14 Thread Robert Stoll
> -Ursprüngliche Nachricht- > Von: François Laupretre [mailto:franc...@php.net] > Gesendet: Samstag, 14. Februar 2015 07:17 > An: 'Yasuo Ohgaki' > Cc: 'Dmitry Stogov'; 'Joe Watkins'; 'Stanislav Malyshev'; 'PHP Internals' > Betreff: RE: [PHP-DEV] Design by Contract > > I will try to explain

AW: [PHP-DEV] Design by Contract

2015-02-10 Thread Robert Stoll
We could provide an Invariant class in order to support invariant cases at least to a certain degree: http://3v4l.org/vjBRG Of course, that does not provide the same support as native invariants but maybe better than nothing. At least we would have a consistent Invariant class throughout the c

AW: [PHP-DEV] Design by Contract

2015-02-05 Thread Robert Stoll
Hi Dimitry > -Ursprüngliche Nachricht- > Von: Dmitry Stogov [mailto:dmi...@zend.com] > Gesendet: Donnerstag, 5. Februar 2015 12:14 > An: Yasuo Ohgaki; PHP Internals > Betreff: [PHP-DEV] Design by Contract > > Hi Yasuo, > > Following our conversation, I tried to imagine how DbC should loo