Re: Mixing OO and DB

From: Robert Martin <unclebob_at_objectmentor.com>
Date: Sun, 2 Mar 2008 14:32:12 -0600
Message-ID: <2008030214321250878-unclebob_at_objectmentorcom>


On 2008-02-29 13:29:11 -0600, topmind <topmind_at_technologist.com> said:

> Wrapping merely for *documentation* purposes is poor
> form. We have *comments* for those:
>
> // retrieve portfolio
> pf = query("select x from foo where.....");

On the contrary, wrapping for documentation purposes is _very good_ form. Comments are a rather poor substitute.

-- 
Robert C. Martin (Uncle Bob)  | email: unclebob_at_objectmentor.com
Object Mentor Inc.            | blog:  www.butunclebob.com
The Agile Transition Experts  | web:   www.objectmentor.com
800-338-6716                  |
Received on Sun Mar 02 2008 - 21:32:12 CET

Original text of this message