Bob Martin's heuristics

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m
 
(One intermediate revision by one user not shown)
Line 4: Line 4:
 
* Whenever you see a constant, consider it might be a variable.  
 
* Whenever you see a constant, consider it might be a variable.  
 
* Whenever you see two or more concepts that are arbitrarily connected, consider they might need separation.  
 
* Whenever you see two or more concepts that are arbitrarily connected, consider they might need separation.  
* If a decision seem arbitrary, consider how it could be made differently.  
+
* If a decision seems arbitrary, consider how it could be made differently.  
 
* Consider that what is ancillary today will be primary tomorrow.  
 
* Consider that what is ancillary today will be primary tomorrow.  
 
* Consider that what is low volume today will be high volume tomorrow.  
 
* Consider that what is low volume today will be high volume tomorrow.  
Line 14: Line 14:
 
* [[Citation needed]]
 
* [[Citation needed]]
  
=== See Also ===
+
== See Also ==
 
* [[Arthur Riel 1996]].
 
* [[Arthur Riel 1996]].

Latest revision as of 03:09, 13 August 2009

These are a different kind of heuristic from those of Arthur Riel 1996. They guide the designer's thinking rather than the design itself.

  • Whenever you see the number 1, consider that it might be N.
  • Whenever you see a constant, consider it might be a variable.
  • Whenever you see two or more concepts that are arbitrarily connected, consider they might need separation.
  • If a decision seems arbitrary, consider how it could be made differently.
  • Consider that what is ancillary today will be primary tomorrow.
  • Consider that what is low volume today will be high volume tomorrow.

Discussion

See Also

Personal tools