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 19 of 34 Topic 3855 of 4287
Post > Topic >>

Re: Writing, Coding, and Professionals

by stephenXXX@[EMAIL PROTECTED] (Stephen Pelc) Mar 18, 2008 at 02:22 PM

On Tue, 18 Mar 2008 11:13:09 GMT, anton@[EMAIL PROTECTED]
(Anton Ertl) wrote:

>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).

MPE uses literate programming of a sort for all our code. While I
agree that specs for applications are rare these days, the comments
for a word can easily be the specification for that word. Our 
experience is that writing the spec for a word first reduces bugs
and improves maintenance costs and time.

>But OTOH interspersing the spec with code
>and structuring it in the same way as the code makes it harder to
>understand.

Putting design information into source code is a very good thing!

The mistake most people make is to assume that do***entation is
done afterwards. Doing it as part of the coding process saves time
and money in the long term.

We have recently assisted in the progress of an application based
on a 20 year-old MPE Forth. The application itself is 17+ years
old on that chassis, and had a previous chassis. How I wish that
it had been do***ented the way we do it now!

Stephen

-- 
Stephen Pelc, stephenXXX@[EMAIL PROTECTED]
 Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
web: http://www.mpeforth.com
- free VFX Forth downloads
 




 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 Mon Oct 13 3:07:12 CDT 2008.