Dave Chestnutt: SparklingCode and CodeGaffes

Writing better code; for fun and profit

  Home  |   Contact  |   Syndication    |   Login
  18 Posts | 1 Stories | 52 Comments | 21 Trackbacks

News

Tag Cloud


Article Categories

Archives

Post Categories

Thursday, November 09, 2006 #

Christopher Diggins has an interesting post on Intentional Programming.   This is a new way of applying top-down design.  It's a very good idea: you write your code nice and clear, with calls to sub-methods that "do the right thing" - sub-methods that you'll write later.  The advantage of this is that your code will be quite readable.  And since our code always lasts much longer than we ever intended, clear readable code is more maintainable (and likely to haveless bugs, too).  An idea well worth thinking about and adding to your bag of tricks.
 
See: http://www.artima.com/forums/flat.jsp?forum=106&thread=179611
 
Technorati tags: ,