On 1 Apr 2007, at 15:45, Paul Johnson wrote:
uses_oo
Shortcoming: Your code contains conditional statements (if,
unless,
or, ?: and so forth). This indicates that you do not have a firm
grasp of OO principles and probably need to reread the GoF book.
Remedy: Replace all your conditional statements with ploymorphic
methods and subclasses. Make free use of the prototype and
decorator patterns.
Agreed. May I propose the additional requirement that the
documentation contain a lengthy treatise on the benefits of true[1]
object orientation?
[1] For whichever value of 'true' the author prefers.
--
Andy Armstrong, hexten.net