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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,25aa3c7e1b59f7b5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-14 06:38:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.net.uni-c.dk!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: A case where Ada defaults to unsafe? Date: Mon, 14 Jan 2002 14:38:23 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3C34BF2C.6030500@mail.com> <3C34D252.4070307@mail.com> <5ee5b646.0201040829.18db8001@posting.google.com> <3C35E733.6030603@mail.com> <3C35FE2A.9020802@mail.com> <3C3C1438.FBF10FC3@baesystems.com> <3C3EB43E.B82E92CA@baesystems.com> <3C42D9B9.8C1D82DB@baesystems.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1011019103 13547 129.241.83.82 (14 Jan 2002 14:38:23 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 14 Jan 2002 14:38:23 +0000 (UTC) User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:18904 Date: 2002-01-14T14:38:23+00:00 List-Id: On Mon, 14 Jan 2002 13:14:33 +0000, Stuart Palin wrote: > But for those using Ada today the 'die is cast'; and just to be clear - > my peeve is not that the die is cast (that's life!) - it is that the > language team did loads of other things to stop 'silly' mistakes - > including terminating comments at the end of line - but chose a token I like that the comments are terminated at the end of the lines. It makes things safer. You only need a good editor like vim or emacs and you will not be troubled one bit by adding -- infront of each line. I see that the C/C++/Java Pitfalls document at http://libre.act-europe.fr/Software_Matters/ recommends that one do not use the /* */ in C++. > that might easily occur in a mis-typing and could be difficult to spot > in a code inspection (depending on font etc). Which is why I like the more verbose Ada syntax to all the special characters one use in C/C++ and friends. In the same document as I mentioned above there are some simple examples that compare the C++ and Ada source code. Preben -- () Join the worldwide campaign to protect fundamental human rights. '||} {||' http://www.amnesty.org/