comp.lang.ada
 help / color / mirror / Atom feed
From: Ehud Lamm <mslamm@mscc.huji.ac.il>
Subject: Re: Loss of Mars Climate Orbiter due to units of measurment conflicts
Date: 1999/10/22
Date: 1999-10-21T22:09:02+00:00	[thread overview]
Message-ID: <Pine.A41.3.96-heb-2.07.991021235923.167770A-100000@pluto.mscc.huji.ac.il> (raw)
In-Reply-To: 7uo03r$ltt$1@nnrp1.deja.com

Let's not argue about whether the arguments are real... :-)

I read the discussions, I just wanted to point out that sometimes
arguments cause exagerations and taking the extreme. 

By the way (to make this a little programming related), I think that there
are cases that naming can reduce the need for comments. This is seen with
people who choose very bad names, which must be accompanined by comments -
since they are otherwise meaningless or misleading.
I had a student who called a routine Input - but the routine simply
returned an initial value. Now - a commnet really helped me understand
what he wanted the routine to do. Naming it better would have been a
better solution.

But after stating this rather banal cliam, I think we can agree that with
normally acceptable names, we still need comments since names do not
provided enough information. 

My approach is sually that if someone can misread you, or not understand
your design reasoning - it is much better to explain (using comments, and
some times, god forbid, external documentation), than to solve the
problems that will arise later. 
Usually the someone misreading you, will be yourself a week later...

Ehud Lamm mslamm@mscc.huji.ac.il
http://purl.oclc.org/NET/ehudlamm <== My home on the web 
Check it out and subscribe to the E-List- for interesting essays and more!






  reply	other threads:[~1999-10-22  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <rv9e4sle3i557@corp.supernews.com>
     [not found] ` <37F52CB4.E9FEBB8F@cybercable.fr>
     [not found]   ` <7tatgc$evr$1@nnrp1.deja.com>
     [not found]     ` <37FCFDE7.C567DCCA@cybercable.fr>
     [not found]       ` <37FFFB38.5B73E46A@callnetuk.com>
     [not found]         ` <380194B0.791D726E@frqnet.de>
     [not found]           ` <38025b52@pull.gecm.com>
1999-10-12  0:00             ` Loss of Mars Climate Orbiter due to units of measurment conflicts Richard D Riehle
1999-10-12  0:00               ` Larry Kilgallen
     [not found] ` <7t9tvd$9h3$1@netserv.univ-lille1.fr>
     [not found]   ` <1999Oct4.072511.1@eisner>
     [not found]     ` <2A02C30D72C8E6B4.DFCF46BA85758C97.B51FFEB632AE496F@lp.airnews.net>
1999-10-14  0:00       ` Wes Groleau
1999-10-14  0:00         ` Fraser Wilson
1999-10-21  0:00         ` Ehud Lamm
1999-10-21  0:00           ` Wes Groleau
1999-10-21  0:00             ` Ehud Lamm
1999-10-21  0:00               ` Robert Dewar
1999-10-22  0:00                 ` Ehud Lamm [this message]
1999-10-24  0:00             ` Robert B. Love 
1999-10-25  0:00               ` Wes Groleau
1999-10-25  0:00               ` Loss of Mars Climate Orbiter due to units of measurment conf Wilhelm Spickermann
1999-10-25  0:00                 ` Wes Groleau
1999-10-25  0:00                   ` Gisle S�lensminde
1999-10-25  0:00                     ` Keith Thompson
1999-10-25  0:00                       ` Bryce Bardin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox