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 18 of 34 Topic 3855 of 4224
Post > Topic >>

Re: Writing, Coding, and Professionals

by anton@[EMAIL PROTECTED] (Anton Ertl) Mar 18, 2008 at 11:13 AM

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.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2008:
http://www.complang.tuwien.ac.at/anton/euroforth/ef08.html
 




 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 Sat Aug 30 8:21:38 CDT 2008.