Option-operand separation

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 +
=[http://etizupo.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=
 
Methods containing operands, necessary augments, should be separated from methods containing options, augments not vital to the method.
 
Methods containing operands, necessary augments, should be separated from methods containing options, augments not vital to the method.
  

Revision as of 10:42, 24 November 2010

Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly

Methods containing operands, necessary augments, should be separated from methods containing options, augments not vital to the method.

Justification:

  • Methods containing options will change more frequently than methods containing operands and so should be isolated.
  • Makes code clearer and removes hidden, hard to find in code method arguments.
  • Removes the need for method polymorphism, a practise that makes code hard to read.

Devised by Bertrand Meyer

Personal tools