lkml.org 
[lkml]   [2001]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [OT?] Coding Style
On Tue, 23 Jan 2001, Helge Hafting wrote:

> Stephen Satchell wrote:
>
> [lots of good advice deleted]
> > One goal of language designers is to REMOVE the need for comments. With a
> > good fourth-generation or fifth-generation language, the need for comments
> > diminishes to a detailed description of the data sets and any highly
> > unusual operations or transforms on the data.
>
> This is but a dream. You can't "design out" the need for comments by
> approaching natural language. Try reading a law book and realize that
> natural language too may be twisted to the extent that it needs
> extensive comments. The same goes for any computer language powerful
> enough to do useful work.

Actually using natural language and other such constructs may INCREASE the
need for comments.

For more examples, see Perl.

alan@ctrl-alt-del.com | Note to AOL users: for a quick shortcut to reply
Alan Olsen | to my mail, just hit the ctrl, alt and del keys.
"In the future, everything will have its 15 minutes of blame."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.114 / U:1.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site