Sponsored Link •
|
Summary
The concept of modeling the real world has been so badly abused in the OO community, that I want to find the person who first coined the notion and flay him alive. (not really.)
Advertisement
|
I don't know who came up with "Objects should model the real world." but we need to find the guy and trash him soundly. I think it must have been some poor schmuck who was trying to sell his boss on buying an early C++ compiler. (In the mid '80s you could spend as much as $30,000 for a good compiler.) I imagine the dialog going something like this:
Schmuck: Sir, we need to buy a C++ compiler. Boss: How much will it cost? Schmuck: It's $30,000. Boss: NO. That's too much money. Schmuck: But sir, the benefits! Boss: What benefits? Schmuck: We'll be able to better manage dependencies! Boss: Manage them without it. Schmuck: But our code could be more flexible and robust. Boss: Make it flexible and robust without it. Schmuck: But... er.... uh.... Boss: Time is money schmuck, get to the point. Schmuck: ...Our software will be more like a ... uh ... model of the ... uh ... real world! Boss: Hmmmm. Software that looks like a model of the real world eh? Schmuck: Yes sir. Boss: Would it be easier to understand then? Schmuck: Yes sir. Boss: Will it allow junior developers to program like experienced developers? (Aside to audience) If this is true, I'll be able to fire all these expensive software geeks and hire kids right out of school! Schmuck: Well, sir, that's possible, yes. Our software would be much easier to understand since it would have a much better structure and have it's... Boss: (Eyes glaze over, foot taps.) Schmuck: (continuing)...dependencies so well managed. Yes sir. Boss: OK, Schmuck, you've sold me. Go buy that compiler. But I want to see models of the real world in our software within three months or your ass will be grass.Have an opinion? Readers have already posted 31 comments about this weblog entry. Why not add yours?
If you'd like to be notified whenever Robert C. Martin adds a new entry to his weblog, subscribe to his RSS feed.
Robert C. Martin (Uncle Bob) has been a software professional since 1970 and an international software consultant since 1990. He is founder and president of Object Mentor Inc., a team of experienced consultants who mentor their clients worldwide in the fields of C++, Java, OO, Patterns, UML, Agile Methodologies, and Extreme Programming. In 1995 Robert authored the best-selling book: Designing Object Oriented C++ Applications using the Booch Method, published by Prentice Hall. From 1996 to 1999 he was the editor-in-chief of the C++ Report. In 1997 he was chief editor of the book: Pattern Languages of Program Design 3, published by Addison Wesley. In 1999 he was the editor of "More C++ Gems" published by Cambridge Press. He is co-author, with James Newkirk, of "XP in Practice", Addision Wesley, 2001. In 2002 he wrote the long awaited "Agile Software Development: Principles, Patterns, and Practices", Prentice Hall, 2002. He has published many dozens of articles in various trade journals, and is a regular speaker at international conferences and trade shows. |
Sponsored Links
|