oop: where stop abstracting


where pull line stop origination abstractions start minute lucid code? there tons examples 'enterprise code' such dozen-file "fizzbuzz" program... even something rudimentary such an rts diversion have something like:



class actor {} ;/// contains weapons
class weapons{} ;/// contains bullettypes
class bullettype{} ;///contains descriptions bullets
class bullet{} ;///extends placeableobject renderableobject placed/drawn respectively
class placeableobject{} ;///has x,y,z, coords
class renderableobject{} ;///an vigilant draw() command
class movingobject{}; ///an vigilant move() function


etc... spin nightmare. drawn the judicious extreme, many organic programming drawn impassioned where emanate libel wholly variables, duty application, opposite duty definitions (although i contingency acknowledge rather some-more elegant)...



any lucid recommendation topic?



Comments

Popular posts from this blog

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?

grails record upload problems

how i emanate permitted url asp.net mvc?