[FRPythoneers] Strong Typing vs. Strong Testing

Rob Riggs rob at pangalactic.org
Fri May 9 14:27:49 MDT 2003


Jack Diederich wrote:

>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.
>  
>
It also means that one can write poetry that would stop up a grammar 
checker pretty quickly, but still has beauty and meaning.

-Rob






More information about the FRPythoneers mailing list