From: Chris Morris Date: 2002-08-28T04:06:06+09:00 Subject: Re: compile time type checking > It seems to me that it's nearly impossible to write enough unit tests to > catch all of these issues before code is released for production use. I'd say the majority of my code does not involve a large variety of types within a certain bit of functionality -- so unit testing this is pretty easy. Even in a case where a piece of code could be working with an object of one of many different types, I'd think many cases could still unit test each combination. And in cases where I need to verify the type I'm working with, I can still code this in Ruby. To me the flexibility and freedom from not having to type everything (plus type in all the overhead typing code :) is well worth the trade off for type-safety - especially with unit tests continually exercising the code. Chris http://clabs.org