Changes between Version 19 and Version 20 of Commentary/CodingStyle


Ignore:
Timestamp:
Dec 24, 2007 8:59:42 PM (7 years ago)
Author:
tim
Comment:

brevity :-)

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/CodingStyle

    v19 v20  
    150150=== General Style === 
    151151 
    152 It's much better to write code that is transparent, than to write code that is short. 
     152It's much better to write code that is transparent than to write code that is short. 
    153153 
    154154Often it's better to write out the code longhand than to reuse a generic abstraction (not always, of course).  Sometimes it's better to duplicate some similar code than to try to construct an elaborate generalisation with only two instances.  Remember: other people have to be able to quickly understand what you've done, and overuse of abstractions just serves to obscure the ''really'' tricky stuff, and there's no shortage of that in GHC.