From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6cba88feacd3c2c5 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Continue/next statement, static variables, and block comments Date: 1996/07/23 Message-ID: #1/1 X-Deja-AN: 170272261 references: <4ssspn$501@umbc10.umbc.edu> <4t05mo$f6d@michp1.redstone.army.mil> <4t2ohl$brq@michp1.redstone.army.mil> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-07-23T00:00:00+00:00 List-Id: In article <4t2ohl$brq@michp1.redstone.army.mil>, Kevin J. Weise 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