James Crane schrieb:
> I've been reading and I discovered a concept called Design By
> Contract. I've not seen any particular libraries to aid in this
> particular development design process, but I was wondering if you
> folks had, or if there were plans to consider providing for this
> functionality within PHP.

 The only language that I know of that supports Design-by-Contract
 through language features is, of course, Eiffel.

 PHPUnit [1] supports [2] the same approach to Design-by-Contract that
 other Unit Test frameworks provide, too. But that would be a topic for
 another mailinglist.

 --
 [1] http://www.phpunit.de/
 [2] http://www.phpunit.de/pocket_guide/2.3/en/test-first-programming.html

-- 
Sebastian Bergmann                      http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

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

Reply via email to