On Wed, Oct 13, 2004 at 09:20:25AM -0500, Sean Gilbertson wrote:
> I think a lot can be said for "programming deliberately" rather than
> programming quickly.  I don't know if it's an instinct that can't be
> faught, or if it's just a lack of responsibility, but I think a lot of
> code is written quickly, and errors, functionality, and practical
> structure get ignored.

     I've developed a phrase in my vocabulary that I use fairly often,
"first pass code", i.e. the results of the first pass at the problem.
You thrash around a little bit and you have to start writing code at
some point, and pin down parts of the problem to get anywhere.
Sometimes you take deliberate shortcuts to focus on the larger design
for now, other times you make sensible design decisions that later
become obsolete.

     Ideally you come back and refactor, but there's a gap between
reality and the ideal (ideality?).  Sometimes I think you just need a
little distance to come back at it with a fresh perspective.  Other
times it just gets shoved down in the queue repeatedly, until
eventually it drops off the queue.  Then this stuff starts to build up
and the entropy of the code gets ugly and you start being afraid to
make changes... :-).

     I sometimes think it's inherent in the process, although if I
understood and did test-driven-development, maybe I wouldn't have as
many problems with it.

-- 
Steven J. Owens
[EMAIL PROTECTED]

"I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt." - http://darksleep.com/notablog


To Post a message, send it to:   [EMAIL PROTECTED]

To Unsubscribe, send a blank message to: [EMAIL PROTECTED]

ad-free courtesy of objectmentor.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/extremeprogramming/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to