From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 15 Apr 93 13:08:28 GMT From: news.crd.ge.com!e7sa!groleau@uunet.uu.net (Wes Groleau X7574) Subject: Re: Ichbiah's Letter Message-ID: List-Id: In article <1993Apr15.091100@lglsun.epfl.ch> magnus@lglsun.epfl.ch (Magnus Kemp e) writes: >The proposal was made because we opposed the introduction of underlines >at the end of identifiers--which was supposed to "fix" the problem of >new reserved words (just add "_" at the end of your identifiers if they >have become reserved...). The trailing underscore is a quick fix that can be easily automated. It is NOT a good idea to allow it to remain in code when actually doing maintenance on that code. There is a tramendous risk of complexity in semantic analysis if words like "until" or "tagged" are not reserved. >The trailing underline won. Here is an example of what will be legal >(as submitted by the French ISO delegates): > > subtype new_ is integer; > constant_ : constant := 0; > range_ : constant := constant_; > dot_dot : constant := constant_; > type is_ is new new_; > subtype subtype_ is is_ range range_ .. dot_dot; I presume you are pointing out that the trailing underscore makes hideous code legal. Well, surprise! Hideous code has always been legal in every language! The only reason some of us Ada fans aren't aware of that fact is that we don't see much of it. The reason we don't see much of it is that the people who like to write it prefer C where it's easier to do. >No_ comment_ Sorry, I just HAD to comment_