Darrell Norton's Blog [MVP]

Sponsors

The Lounge

News

  • Darrell Norton pic

    MVP logo

    View Darrell Norton's profile on LinkedIn

    Currently Reading:

    weewar.com

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Steve Maine and object-oriented solutions

Steve Maine, insightful as always, explains his own view on the limitations of object-oriented solutions applied to business problems. Personally I run into object bigotry every day at my employer. The vast majority of the company uses various flavors of Java (write once, run anywhere? Nah…) and we (as in the Microsoft team) get joked for even considering using DataSets. I’m a big a fan of Fowler’s PoEAA, and I guess most people miss where Fowler draws the delineation of the applicability of the domain model, which I consider almost analogous to “object-oriented solution”.

Is there a place for traditional OO approaches? Yes, and Steve Maine makes it very clear, almost simplistic, in his post when it is applicable and when it is not. The key point is to work with the business problem, not force your technological preconceptions against it. Working with the problem would be what Brooks would call the “essence”, and the force-fitting would be the “accident”.


Posted 07-13-2004 6:01 AM by Darrell Norton

[Advertisement]

Comments

Mark Bonafe wrote re: Steve Maine and object-oriented solutions
on 07-13-2004 3:18 AM
But Darrell, isn't ORM supposed to fix these problems? ;] I wish more developers understood the limitations of OO when it comes to solving business (data) problems. Preach on...
Darrell wrote re: Steve Maine and object-oriented solutions
on 07-13-2004 3:23 AM
Bonafe - the "object-relational mismatch" is definitely a reality. When that much has to be done to overcome the limitations in one approach versus the other, I think it means that something doesn't fit right, like a square peg in a round hole.

This is not to say that OO is never useful, it is. And not to say that developers should not know OO, they should. Without knowing how to develop both OO and data-centric solutions, how would you know which one is better for a given business problem?
Mark Bonafe wrote re: Steve Maine and object-oriented solutions
on 07-13-2004 3:49 AM
That's right. I didn't mean to imply that OO isn't useful. It most certainly is. I would never want to go back to developing entirely without objects. Whew! The thought of it makes me dizzy.

It's just that so many developers see OO as the "only way to write code" regardless of the problem they are trying to solve. It's not that I'm an old-fart coder who's set in his ways. Ok, I *am* an old-fart, but I'm definitely not set in my ways. I want to learn and use the new gizmos and techniques just as much as everyone else! I've been using OO since it was the new buzword (ancient history). I love it. But sometimes I hate it, too.

Darrell wrote re: Steve Maine and object-oriented solutions
on 07-13-2004 4:11 AM
Yeah, I wasn't implying that was what you were saying. :P
Steve Hebert wrote re: Steve Maine and object-oriented solutions
on 07-13-2004 10:59 AM
I liked that article, nice find. I'm adding Steve Maine to my RSS feeds.

Do these guys at your new workplace actually spew the write once, run anywhere tripe? I've heard a few babble this mantra over the past year or so, but I just laugh at them with that "you're a moron and you've just exposed yourself as such" laugh.

I just don't understand how any self-respecting developer can stand in front of another developer and hold out a concept that has been debunked more times than UFO sightings. Even the intelligent portion of the Java crowd has chimed in saying that WORA hype only applies to the "Hello World" application and the lie has outlived its usefulness to the Java cause. Tell them to download Java 3.0 (C#) and run Mono on their 133mhz linux boxes.
Lockergnome's Web Developers wrote Limitations Of Object-Oriented Solutions
on 07-13-2004 3:04 PM
An interesting perspective on the limitations of object-oriented solutions. Speaking specifically, the limitations when they are applied to business related problems. The article then goes on to explain how "object bigotry" is a common problem in many work environments....
Mark DiGiovanni wrote SCOP: Overcoming the limitations of OOP
on 07-14-2004 3:37 AM
SCOP: Overcoming the limitations of OOP
Darrell wrote re: Steve Maine and object-oriented solutions
on 07-14-2004 3:37 AM
Steve - nah, that was just my humor. :) The company obviously recognizes the differences, because nobody specializes in more than one vendor's application server.

Most people are all for OO and dislike DataSets because they aren't OO (circular logic, anyone?). My argument has always been "Use the right tool for the job." Anything less as a consultant is a disservice to the customer.

That does NOT relieve anyone of the task of learning in-depth Object-Oriented programming, however. The objections to mindless DataSet use still apply!