The Price of Purity



Email    print   
February 1, 2005 —  (Page 1 of 3)
I don’t believe that it’s reasonable to use Java as a procedural language solely to leverage its rich set of libraries. If you’re going to use Java, embrace the object-oriented paradigm. Unfortunately, not everyone agrees with me.

Most people who build “pure” OO systems notice an interesting paradox: Pure OO systems are simultaneously more complex to build and easier to maintain than hybrid procedural/OO systems. The complexity is just inherent in the language and the mechanisms of object orientation (like inheritance). The “pure” system is better organized than the hybrid, however, and that is reflected in easier maintenance. Hybrids tend to have all the complexity inherent in OO without any of its maintainability.

I guess my belief makes me a purist, but I think of it as pragmatism. I just got sick of rewriting hybrid systems once they hit maintenance (which happens five seconds after you write the first line of code). My experience notwithstanding, I often hear the word “pure” spoken with a sneer, as if it’s a bad thing. I’ve been told that in the real world, nobody has the luxury of “academic purity,” whatever that is. In reality, I don’t have the luxury of wasting time building, debugging or maintaining procedural systems written in Java. The pure systems go together faster, have fewer bugs, and are vastly easier to maintain.

Nonetheless, most Java shops don’t do anything like pure OO. In fact, many Java programmers don’t understand even the basic principles of OO design and programming. Moreover, many off-the-shelf tools encourage a procedural approach (Apache’s Struts open-source framework comes to mind). If you’re working this way, you won’t get most of the real benefits of OO, however.

Managers—even those who understand the benefits of OO—circle around the methodology like sharks who are wary of their prey. They want the advantages of an OO system but don’t know how to get them. For example, they pay for training but are unwilling to actually implement the things that their programmers learn.




Pages 1 2 3 


Share this link: http://sdt.bz/28398
 
Most Read Latest News Blog Resources

Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
After the Launch, Microsoft Sets the Price
Having released the long-awaited updates to its enterprise database and development environment, Microsoft last month also announced pricing for the Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb