[FRPythoneers] Strong Typing vs. Strong Testing

Jack Diederich jack at performancedrivers.com
Fri May 9 14:09:40 MDT 2003


On Fri, May 09, 2003 at 12:41:04PM -0600, Evelyn Mitchell wrote:
> * On 2003-05-09 18:27 Rob Riggs <rob at pangalactic.org> wrote:
> > I found this interesting article on Bruce Eckel's blog: 
> > http://mindview.net/WebLog/log-0025
> 
> Bruce's point that unit testing saves us from a whole class of errors that
> compile-time type checking can't save us from is still a good one.

The best analogy I've heard;  Static typing is like a spelling or grammar 
checker, while unit testing actually checks the meaning -- does this 
sentance say what I think it says?  Incidental to checking the correct meaning
it checks correct spelling and grammar.

-jack



More information about the FRPythoneers mailing list