From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Continue/next statement, static variables, and block comments
Date: 1996/07/23
Date: 1996-07-23T00:00:00+00:00 [thread overview]
Message-ID: <Dv07pL.80K@world.std.com> (raw)
In-Reply-To: 4t2ohl$brq@michp1.redstone.army.mil
In article <4t2ohl$brq@michp1.redstone.army.mil>,
Kevin J. Weise <kweise@c3i-ccmail.sed.redstone.army.mil> wrote:
>While I haven't changed my mind about this, I have looked at the ada-mode
>for emacs, and found that you can comment and uncomment regions of code.
>Certainly, you have your supporters in the Ada community, Mr. Abzug, and
>they have provided you with a solution! If you aren't familiar with it,
>emacs is a great tool (esp. as augmented by the ada mode, v2.12) and I
>highly recommend it; but it does require some getting used to. I hope you
>can utilize it in your programming environment.
The nice thing about the Ada-and-Emacs-combined solution is that (1)
it's easy to comment out code, and (2) it's easy to see that the code is
commented out, because every line is marked with "--", so you don't have
to know that 50 lines above your editor window, there's a begin-comment
marker.
IMHO, commented-out code should be a very temporary thing. I've been
known to comment out code, but I always do something about it within a
small number of days. I don't think commented-out code is acceptable in
a final product delivered to a customer. And even in the temporary
case, there ought to be a comment explaining the commenting-out.
- Bob
next prev parent reply other threads:[~1996-07-23 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-21 0:00 Continue/next statement, static variables, and block comments Mordechai T. Abzug
1996-07-21 0:00 ` Michael Feldman
1996-07-22 0:00 ` Kevin J. Weise
1996-07-23 0:00 ` Kevin J. Weise
1996-07-23 0:00 ` Robert A Duff [this message]
1996-07-24 0:00 ` Dale Stanbrough
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox