[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Optional types



> Martin Fowler mentioned that some (maybe one) Extreme Programmers
> felt you get this same benefit (as compiler type checking) by
> writing unit test cases in a dynamically typed language, like
> Smalltalk or Lisp.

If I have to write unit tests to do type checking, I would rather just put
in static type declarations and have fewer test cases to worry about.

Unit testing is great, but it is almost impossible to do comprehensively
even with good code coverage tools.

- Christopher