Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Curious minds want to know....
Paul,

This is such a great example.

Tammy, please do take the time to enlighten us as to what here is in
error and how it compares to your control group.


Report this thread to moderator Post Follow-up to this message
Old Post
krasicki
01-02-05 08:56 AM


Re: Curious minds want to know....
First I have a correction. When I re-checked my notes I found that I
made a syntax error after point 4. I'll call that one 4.1:

4.1) code failed to compile because I included the header "algorithm"
rather than "numeric"

> Tammy, please do take the time to enlighten us as to what here is in
> error and how it compares to your control group.

Using the unexpected result as Tammy suggests I make it 4 errors (3,
4.1, 8, and 10) and maybe 10 lines of code (depending on how you count
them...)


Report this thread to moderator Post Follow-up to this message
Old Post
Paul Sinnett
01-02-05 08:56 PM


Re: Curious minds want to know....
One more on this. I decided to try again, this time creating the whole
program in one step. The code turned out about 50% longer but when I
compiled it and ran it I had made no typing errors and it passed all
the tests first time. I think the bowling game example may be too small
to show up errors coded this way.

For some reason I feel more confident about the code written TDD style,
but I can't explain why - they have, after all, passed exactly the same
tests.


Report this thread to moderator Post Follow-up to this message
Old Post
Paul Sinnett
01-03-05 01:56 AM


Re: Curious minds want to know....
I don't think this experience is unique.  It is an old adage that the
best thing to do is to throw the first attempt away.

Personally, I think these draft versions darned well should be full of
errors and sloppy stuff and your example was just an excellent
traversal of developing a program.  I don't think that designs and
programs arrive whole-cloth.  The whole damned thing is a bugathon
until the abstractions move from the fuzzy to the concrete.

I think that's what I find so baffling about this thread - the act of
creation must be regarded a throw-away.  Otherwise investing too much
an intellectual or emotional stake in the thing makes it impossible to
design review it, code review it, and dispose of it if necessary.

Now, the second part of your observation is that you have developed a
comfort zone with TDD.  There are worse druthers to have.


Report this thread to moderator Post Follow-up to this message
Old Post
krasicki
01-03-05 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Extreme Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:40 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.