From: Jeremy Tregunna Date: 2006-05-08T12:48:40+09:00 Subject: Re: A major ruby annoyance! --Apple-Mail-12--898300696 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > Jim Freeze wrote: >> Try unit testing for a while and you will see. After doing >> 1) write code >> 2) write test >> 3) run test and see it succeed >> Perhaps it's me, but it doesn't make much sense to write your code BEFORE your test. How do you know that the code is operating right if you write it before your test? My suggestion: write your unit tests first, they don't take much time, so if you find you need to change things a little, having to rewrite one unit test isn't a big loss. -- Jeremy Tregunna jtregunna@blurgle.ca --Apple-Mail-12--898300696--