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: A Brief Loo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3892 of 4136
Post > Topic >>

Re: A Brief Look at History

by Bruce McFarling <agila61@[EMAIL PROTECTED] > Mar 15, 2008 at 04:23 PM

On Mar 14, 6:09 pm, Marc Olschok <nob...@[EMAIL PROTECTED]
> wrote:
> John Doty <j...@[EMAIL PROTECTED]
> wrote:
> >[...]
> > Part of the problem here is Elizabeth's attempt to absolve code from
the
> > need to be readable on its own. Good comments are always a boon, but
> > it's better to have a situation where they add value to the code,
rather
> > than relying on them as a crutch to salvage unreadable code.

> Comments cannot do the latter anyway. The role of a comment is to
> explain _what_ is done by the particular piece of code --- not to
> tell _how_ the code does it.

Well, there are also comments that are notes to someone who may modify
the code later, like:

\ NB. .Niclwarn-line first because it resets Niclerr#

or, ``(1)'' in the code after stack noise, and:

\ (1) ( ca_after len_after len_original )

but they should be below the definition, not above.
 




 1 Posts in Topic:
Re: A Brief Look at History
Bruce McFarling <agila  2008-03-15 16:23:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Wed Jul 9 5:50:15 CDT 2008.