Page 2 of 2

Re: Programming Philosophy

Posted: Sun Jun 05, 2011 8:39 am
by THe Floating Brain
ismetteren wrote:I just stumbled upon this, and this thread came to mind: http://stackoverflow.com/questions/5764 ... f-pure-ood
It seems like a good example of this "trying too hard to model the real world in OOP" concept some of you are talking about.
Exactly! A prime example. With the exception that tree's don't actually disappear.

Re: Programming Philosophy

Posted: Sun Jun 05, 2011 9:31 pm
by EccentricDuck
I think that makes a good point about what OOP is not good for. It's not meant to dynamically represent anything and everything. It's a static approach that works well for organizing certain kinds of unchanging systems that are easily represented using hierarchies/well-defined pieces with no crossover between pieces.

Re: Programming Philosophy

Posted: Tue Jun 07, 2011 5:07 pm
by THe Floating Brain
EccentricDuck wrote:I think that makes a good point about what OOP is not good for. It's not meant to dynamically represent anything and everything. It's a static approach that works well for organizing certain kinds of unchanging systems that are easily represented using hierarchies/well-defined pieces with no crossover between pieces.
That's exactly what I am saying, if I interpreted the second half of your second sentience correctly :-D