D - more power than (really) needed !

Lars Ivar Igesund larsivar at igesund.net
Thu Mar 9 08:06:59 PST 2006


Hasan Aljudy wrote:

>> Sometimes, I think C++ went hard over in the opposite direction - nothing
>> is an object. OOP programming seems to be regarded as "oh, so 90's" by
>> the modern C++ crowd.
> 
> C++ doesn't really support OOP .. it's just a myth :(

Hmm, I don't get it. Has anyone told all those making OO C++ libraries this?

I get a feeling sometimes that there is a belief that the languages
preaching OOP (Java, Eiffel, etc) defines OO. Object orientation is an idea
of how to group what belong to each other together. There are umpteen books
on best practices how to do this, and AFAICS, the Java books from the past
two years differs hugely from those I used back in 98-99 when I started at
the University. Especially I read the other day that although inheritance
solves a lot, it is often a bad practice if you want a system that is
reusable and extensible (Head First Design Patterns, one of the current top
books in the Java category.)

There are no rules to OOP! There are guidelines, and depending on your
project, it might be smart to follow one of those, or guidelines that are
totally different.



More information about the Digitalmars-d mailing list