Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: Writing, Co...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 22 of 34 Topic 3855 of 4236
Post > Topic >>

Re: Writing, Coding, and Professionals

by "Paul E. Bennett" <Paul_E.Bennett@[EMAIL PROTECTED] > Mar 18, 2008 at 08:41 PM

Anton Ertl wrote:

> Guy Macon <http://www.guymacon.com/>
writes:
>>A good programmer writes his/her comments in such a way that
>>a far better programmer could, in theory, start with just the
>>comments and end up with a working program that does the same
>>basic job that the original program does.
> 
> You want the complete specifications in the comments.
> 
> For most programs a complete specification is never written, so it
> would certainly be an improvement if it was.  However, I don't see why
> it should be in the comments.  Ok, an advantage would be that it would
> be more likely to be updated when the requirements change (rather than
> just updating the code).  But OTOH interspersing the spec with code
> and structuring it in the same way as the code makes it harder to
> understand.

When decomposing the functions towards the words you will use in the
application it can be beneficial to write the glossary for the words
(and reviewing the glossaries) long before you get to write the code
that sup****ts that functionality.

Ensuring that these glossary comments are traceable to and from the
original specification and that the code, when written, fully sup****ts
the glossary spec for the word is the foundation for certifying the code
compliant with the requirements. If you can then prove the codes
robustness by arduous testing you can gain a high degree of confidence
in the dependability of the system.

This might be as close as anyone gets to fully specified software.

-- 
********************************************************************
Paul E. Bennett...............<email://Paul_E.Bennett@[EMAIL PROTECTED]
>
Forth based HIDECS Consultancy
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-811095
Going Forth Safely ..... EBA. www.electric-boat-association.org.uk..
********************************************************************
 




 34 Posts in Topic:
Re: A Brief Look at History
Jonah Thomas <jethomas  2008-03-12 06:56:18 
Re: A Brief Look at History
Elizabeth D Rather <er  2008-03-12 07:17:48 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-12 16:24:39 
Re: A Brief Look at History
John Passaniti <nntp@[  2008-03-13 00:05:13 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-12 19:28:19 
Re: A Brief Look at History
"Paul E. Bennett&quo  2008-03-13 19:16:12 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-13 13:21:24 
Re: A Brief Look at History
"Paul E. Bennett&quo  2008-03-13 21:50:04 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-13 16:16:28 
Re: A Brief Look at History
John Passaniti <nntp@[  2008-03-14 05:03:16 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-14 06:57:57 
Writing, Coding, and Professionals (was Re: A Brief Look at Hist
m-coughlin <m-coughlin  2008-03-14 19:51:54 
Re: Writing, Coding, and Professionals (was Re: A Brief Look at
Andrew Haley <andrew29  2008-03-15 10:03:17 
Re: Writing, Coding, and Professionals (was Re: A Brief Look at
Jerry Avins <jya@[EMAI  2008-03-15 11:12:47 
Re: Writing, Coding, and Professionals
Guy Macon <http://www.  2008-03-15 18:02:03 
Re: Writing, Coding, and Professionals
Andrew Haley <andrew29  2008-03-17 10:24:55 
Re: Writing, Coding, and Professionals
Guy Macon <http://www.  2008-03-17 22:40:16 
Re: Writing, Coding, and Professionals
anton@[EMAIL PROTECTED]   2008-03-18 11:13:09 
Re: Writing, Coding, and Professionals
stephenXXX@[EMAIL PROTECT  2008-03-18 14:22:55 
Re: Writing, Coding, and Professionals
Elizabeth D Rather <er  2008-03-18 09:47:02 
Re: Writing, Coding, and Professionals
anton@[EMAIL PROTECTED]   2008-03-18 19:39:30 
Re: Writing, Coding, and Professionals
"Paul E. Bennett&quo  2008-03-18 20:41:29 
Re: Writing, Coding, and Professionals
Guy Macon <http://www.  2008-03-19 10:14:57 
Re: Writing, Coding, and Professionals
anton@[EMAIL PROTECTED]   2008-03-19 13:40:38 
Re: A Brief Look at History
"Paul E. Bennett&quo  2008-03-13 19:02:46 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-13 13:16:17 
Re: A Brief Look at History
Elizabeth D Rather <er  2008-03-13 13:30:33 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-13 14:50:04 
Re: A Brief Look at History
stephenXXX@[EMAIL PROTECT  2008-03-15 17:39:38 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-15 12:09:14 
Re: A Brief Look at History
stephenXXX@[EMAIL PROTECT  2008-03-15 19:00:23 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-15 13:51:22 
Re: A Brief Look at History
m-coughlin <m-coughlin  2008-03-14 19:00:35 
Re: A Brief Look at History
John Doty <jpd@[EMAIL   2008-03-12 17:18:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 3:06:15 CDT 2008.