On Wed, Jul 06, 2005 at 03:02:58PM +0100, Nik Clayton wrote:
> >Although I don't mind writing tests, I'd prefer a 
> >test function that doesn't force me to think about the syntax of the test
> >function and let me focus on writing test cases to match the documentation.
> 
> Although there are many cases in which DWIMery is good, I'm not sure 
> that writing tests is one of them.  Otherwise, how can you be sure that 
> the test is actually testing what you mean, and not what the computer 
> thought you meant?

I'd tend to agree.  Also foo($source, $destination) is pretty universal.


-- 
Michael G Schwern     [EMAIL PROTECTED]     http://www.pobox.com/~schwern
Just call me 'Moron Sugar'.
        http://www.somethingpositive.net/sp05182002.shtml

Reply via email to