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,66bc6b039f1e005d X-Google-Attributes: gid103376,public From: Marin David Condic Subject: Re: Three simple questions Date: 2000/10/11 Message-ID: <39E47BAC.8DB1AD0B@acm.org>#1/1 X-Deja-AN: 680160631 Content-Transfer-Encoding: 7bit References: <2BED68CA963D6D55.A78776F656DA0452.75A61ED22116F1B6@lp.airnews.net> To: Frank Christiny X-Accept-Language: en X-Server-Date: 11 Oct 2000 14:39:29 GMT Content-Type: text/plain; charset=us-ascii Organization: Quadrus Corporation Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-10-11T14:39:29+00:00 List-Id: Frank Christiny wrote: > 2. What is the rationale for case-insensitivity in the language? > I am beginning to think it is mostly for historical reasons > (some machines didn't have two case letters way back then, etc.). > Are there any real technical reasons for why this is so even > after Ada95, besides preserving backwards compatibilty? Ada is not case-sensitive because case-sensitivity is a bad idea. In normal English usage, there is no significant difference between "Marin" or "MARIN" or mArIn". Readers would interpret that to mean a reference to me. Identifiers in a program are likely to be similarly interpreted on cursory inspection, so it would be a bad idea to have "x" mean an entirely different variable than "X". Too much opportunity for subtle bugs. Case sensitivity in a language or OS is an abomination and those responsible should be kept from getting into the gene pool through some sort of sterilization program. But that's just my guarded, reserved, polite opinion. Sometime ask me how I *really* feel. :-) > > 3. How can one block-comment in Ada? > It can become cumbersome sometimes, adding all those "--"s in > front of a large block of code one wants to "test out" on the fly. > Again, are there any good technical-engineering reasons why this > feature was left out? There are no "Open/Close" comment delimiters. Some of the Ada sensitive editors will let you highlight a block of text and comment/uncomment it in one swell foop. Weakness or Strength? You be the judge. MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "Giving money and power to Government is like giving whiskey and car keys to teenage boys." -- P. J. O'Rourke ======================================================================