top | item 6782410

(no title)

AlisdairSH | 12 years ago

After years of software design, I can say with a high level of confidence that classifying the nouns and verbs properly is a prerequisite to quality OO code (from both a functional AND longevity standpoint).

If you fail to do that up-front analysis, you may end up with functional code. But, the likelihood that it is readable, maintainable, extensible, etc is much lower.

This isn't to say that all good code is OO. Only that writing good OO code requires you to define the objects andt their interactions well.

discuss

order

CraigJPerry|12 years ago

Here framing the problem around a Walk class makes for a more elegant implementation but the proscribed steps will never get you there.