Re: Design By Contract

From: Date: Tue, 18 Apr 2006 15:26:44 +0000
Subject: Re: Design By Contract
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-22835@lists.php.net to get a copy of this message
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

« previous php.internals (#22835) next »