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,1042f393323e22da X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,1042f393323e22da X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,1042f393323e22da X-Google-Attributes: gid109fba,public From: kaz@vision.crest.nt.com (Kaz Kylheku) Subject: Re: Any research putting c above ada? Date: 1997/04/26 Message-ID: <5ju35m$9oq@bcrkh13.bnr.ca>#1/1 X-Deja-AN: 237597426 References: <5ih6i9$oct$1@waldorf.csc.calpoly.edu> <335F9D0E.41C67EA6@cacd.rockwell.com> <5jr4ak$dsm@bcrkh13.bnr.ca> Organization: Prism Systems Inc. Newsgroups: comp.lang.c++,comp.lang.c,comp.lang.ada Date: 1997-04-26T00:00:00+00:00 List-Id: In article , Mike Haertel wrote: >In article <5jr4ak$dsm@bcrkh13.bnr.ca>, Kaz Kylheku wrote: >>It's interesting that one of the requirements is a Nudds: that is, that the >>language support comments that are delimited by a special character (or >>character pair) and terminated at the end of the line. This is utterly a >>religious issue. > >That's not a religious issue, there's an actual reliability issue. >If a language has Pascal/PL1/C style comments, it's easy to accidently >comment out large blocks of code by forgetting a comment close >delimiter. I've done it in C. Often the result will still compile, >but the resulting program will crash in mysterious ways. With >comment-to-end-of-line that risk doesn't exist. Agreed. I would never design a language with Pascal or C style comment delimiting that can span multiple lines (but I would always provide some methods for conditional compilation of blocks). A language that I'm working on uses the Bourne-shell style comments # ... . It's simple and effective. I still think it's a religious issue, though. I merely don't side with C on this one. :)