James Watson
Posts: 2024
Nickname: watson
Registered: Sep, 2005
|
|
Re: Gavin King: In Defence of the RDBMS
|
Posted: May 31, 2007 8:52 AM
|
|
> > > We really need to better define the various styles / > > > implementations of OOP. > > > The idea that there is a right and a > wrong > > way to do OOP is totally bogus. > > O.K., lets be PC - no harsh judgments. Would you agree > that there are better and worse ways to do > OOP? If not, why are you arguing on this list? :-)
You are being too generous. The argument that all approaches are equally correct and effective is untenable in any context.
The fact of the matter is that just because you use an OO language doesn't mean you are creating OO design. A pair of Nikes won't make you a professional basketball player either.
A developer can create OO designs in procedural languages. Likewise, one can create procedural designs in OO languages.
> > If something works then it cannot be wrong > > Tell that to my wife. :-) > > Code that works but is extremely difficult to maintain or > enhance is wrong. The goal (sometimes unrealized) of > "Strong OOP" is easier maintenance.
To add: If I dig out a hole for a swimming pool with a teaspoon, I may create a hole with exact dimensions required. In that context, the hole is not wrong. But I'd still be an idiot. It was the wrong choice, regardless of whether the outcome was correct.
I agree that OOP can provide maintenance benefits (when done properly) but it can also provide benefits up-front. It's often much easier to create correct code with OO off-the-bat, in my experience.
Since you are not being harsh, I'll say what I believe we are both thinking. If someone thinks that any code that uses Objects and classes is OO, then that person probably doesn't really understand OO.
|
|