On Wed, Nov 23, 2005 at 07:46:36PM +1100, Erik de Castro Lopo wrote:
> Steve Lindsay wrote:
> 
> > While I would agree that catching any bugs asap is a good thing, I
> > find that typos and the like are not the problems that are causing me
> > most grief (crappy logic, crappy requirements, not enough time, other
> > developers writing crappy code, etc are more likely to cause me
> > problems).
> 
> I recently worked on a quite large piece of Python code which I 
> inherited without any tests. The only way to test it was to run it
> which took 10-15 minutes.
>
> While I was working on this I was constantly finding that little
> bugs that an Ocaml/Haskell/Ada/Pascal etc compiler would have found
> were killing me at run time. It was a royal PITA.

Any codebase without a comprehensive testsuite is going to be painful to
work on.  The bugs that a compiled language picks up just get replaced in
the "royal PITA" list by ones that the compiler doesn't pick up.  Lather,
rinse, repeat.

So, you add a testsuite, and then there's a whole new set of bugs that crop
up that can't be effectively tested for in the "royal PITA" list.  LRR.

Let's just give up this programming thing and go back to farming.

def CowTest(unittest.TestCase):
[...]

- Matt

Attachment: signature.asc
Description: Digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to