Re: Retrieving unnecessary data
- From: Robert Martin <unclebob@xxxxxxxxxxxxxxxx>
- Date: Fri, 22 Feb 2008 12:31:56 -0600
On 2008-02-21 13:36:54 -0600, topmind <topmind@xxxxxxxxxxxxxxxx> said:
or use a dummy database
(dummy world) for testing.
Ah, now that's an interesting concept.
It's common in the industry.
You mean a database that, for
all intents and purposes, looks like a production database but isn't.
You mean one that can be substutited for the production database
according to the LSP. You mean...an object?
I think that's a very good idea.
I suppose under a wide view of "OOP" it can be considered such.
Not at all. Your recommendation was to use a substitutable subtype. It's hard to get any more OO than that.
--
Robert C. Martin (Uncle Bob) | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc. | blog: www.butunclebob.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716 |
.
- Follow-Ups:
- Re: Retrieving unnecessary data
- From: topmind
- Re: Retrieving unnecessary data
- References:
- Retrieving unnecessary data
- From: ShaneLM
- Re: Retrieving unnecessary data
- From: H. S. Lahman
- Re: Retrieving unnecessary data
- From: ShaneLM
- Re: Retrieving unnecessary data
- From: Robert Martin
- Re: Retrieving unnecessary data
- From: topmind
- Re: Retrieving unnecessary data
- From: Robert Martin
- Re: Retrieving unnecessary data
- From: topmind
- Re: Retrieving unnecessary data
- From: Robert Martin
- Re: Retrieving unnecessary data
- From: topmind
- Retrieving unnecessary data
- Prev by Date: Re: Why is Object Oriented so successfull
- Next by Date: Re: Why is Object Oriented so successfull
- Previous by thread: Re: Retrieving unnecessary data
- Next by thread: Re: Retrieving unnecessary data
- Index(es):