On 12/08/16 11:11, Yasuo Ohgaki wrote:
> Hi Lester,
> 
> On Fri, Aug 12, 2016 at 5:19 PM, Lester Caine <les...@lsces.co.uk> wrote:
>> > I'm thinking
>> > $var->setConstraint()
>> > $var->setEscape()
>> > $var->setReadOnly()
> DbC cannot cover all, but some of them can be covered during development.
> 
> https://wiki.php.net/rfc/introduce_design_by_contract
> https://wiki.php.net/rfc/dbc
> https://wiki.php.net/rfc/dbc2
> 
> Runtime constraint is good, but it could be too slow. Proper DbC would
> have nice balance on production and development checks.

I think my argument here would be that this is an alternate 'IDE'
approach? Rather than simply extending the 'simple' way PHP currently
works? As I say ... it's that your rfc on array validation has all the
code *I* think is needed to upgrade the handling of variables individually?

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to