On Wednesday 21 June 2006 17:49, Matthew Palmer wrote: > On Wed, Jun 21, 2006 at 04:26:06PM +1000, Graham Smith wrote: > > This is my attempt to comply with the tests Matthew posted last night. > > Graham, would you like to share your thoughts on how the test suite > modified the way you coded these methods, as compared to how you would have > otherwise written them? >
This is hard to answer as it is dependant upon the requirements of the programs usage/specification. If the program requires that certain parameters be set or returned, thats the way you have to program. So in reality there is no difference. The good part is that with a predefined set of tests it enables you to ensure that the code you write remains within the bounds of the test suite at all times. -- Regards, Graham Smith _______________________________________________ coders mailing list [email protected] http://lists.slug.org.au/listinfo/coders
