Re: Retrieving unnecessary data



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                  |



.