From: James Edward Gray II Date: 2006-11-03T08:17:33+09:00 Subject: Re: ruby programming best practice On Nov 2, 2006, at 4:27 PM, David Vallner wrote: > Richard Conroy wrote: >> On 11/1/06, Shannon Fang wrote: >>> Experts, please tell us, your best practice, facing this "intrinsic" >>> problem >>> of dynamic languages... >> >> Use Unit Tests. >> >> With automated unit testing, the benefits of static typing, bounds >> checking, >> null checking etc. start to disappear, as you typically write >> tests for >> these >> scenarios anyway. >> > > > > The benefits disappear as you reimplement them in test cases anyway? > Insert comment about wheel reinvention here. I quit reading right here. It's *not* reimplementation! You need to be testing your software anyway, even if you are using the perfect language that protects you from all your errors. Since you're doing that anyway, this is just a free side effect for your good habits. James Edward Gray II