Wiki

Changes between Initial Version and Version 1 of DetectingBugsEarlier

Show
Ignore:
Timestamp:
05/04/10 08:04:11 (8 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DetectingBugsEarlier

    v1 v1  
     1Detecting bugs earlier than you normally would can boost productivity. The primary techniques for doing so are: 
     2 
     3 * Contracts 
     4 * Asserts 
     5 * Using non-nil types 
     6 * Unit tests 
     7 
     8The first three techniques cause bugs to be revealed closer to their source which makes them easier to diagnose. 
     9 
     10Unit tests find bugs for various isolated test cases before your main program even runs. The isolation factor makes it easier to diagnose problems than when errors occur in the main program. 
     11 
     12See also: DebuggingTopics