Exactly! A prime example. With the exception that tree's don't actually disappear.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.
Programming Philosophy
Moderator: Coders of Rage
- THe Floating Brain
- Chaos Rift Junior
- Posts: 284
- Joined: Tue Dec 28, 2010 7:22 pm
- Current Project: RTS possible Third Person shooter engine.
- Favorite Gaming Platforms: PC, Wii, Xbox 360, GAME CUBE!!!!!!!!!!!!!!!!!!!!!!
- Programming Language of Choice: C/C++, Python 3, C#
- Location: U.S
Re: Programming Philosophy
"Why did we say we were going to say we were going to change the world tomorrow yesterday? Maybe you can." - Myself
- EccentricDuck
- Chaos Rift Junior
- Posts: 305
- Joined: Sun Feb 21, 2010 11:18 pm
- Current Project: Isometric "2.5D" Airship Game
- Favorite Gaming Platforms: PS2, SNES, GBA, PC
- Programming Language of Choice: C#, Python, JScript
- Location: Edmonton, Alberta
Re: Programming Philosophy
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.
- THe Floating Brain
- Chaos Rift Junior
- Posts: 284
- Joined: Tue Dec 28, 2010 7:22 pm
- Current Project: RTS possible Third Person shooter engine.
- Favorite Gaming Platforms: PC, Wii, Xbox 360, GAME CUBE!!!!!!!!!!!!!!!!!!!!!!
- Programming Language of Choice: C/C++, Python 3, C#
- Location: U.S
Re: Programming Philosophy
That's exactly what I am saying, if I interpreted the second half of your second sentience correctly :-DEccentricDuck 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.
"Why did we say we were going to say we were going to change the world tomorrow yesterday? Maybe you can." - Myself