comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Comments?
Date: 1999/01/16
Date: 1999-01-16T00:00:00+00:00	[thread overview]
Message-ID: <rzHyclZQ#GA.233@pet.hiwaay.net> (raw)
In-Reply-To: 77qt10$c2m$1@winter.news.rcn.net


Gold Rush Graphics wrote in message <77qt10$c2m$1@winter.news.rcn.net>...
>I have a question...I am learning some programming languages and have
>noticed that some languages such as Pascal and C++ use delimiters on both
>ends of comments. Other languages, such as Fortran and Ada, use a symbol of
>symbols to indicate the beginning of a comment and the end of line to
>terminate it. Why would these languages take such different aprouches to
>solving the same problem and which method is better?
>
If you'll look again, you'll find that C++ also uses only leading
delimiters,
i.e., "//".

The only advantage to comments delimited on both ends is that you can have
multi-line comments, in such a case.







  reply	other threads:[~1999-01-16  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-16  0:00 Comments? Gold Rush Graphics
1999-01-16  0:00 ` David C. Hoos, Sr. [this message]
1999-01-17  0:00 ` Comments? Matthew Heaney
1999-01-17  0:00   ` Comments? robert_dewar
1999-01-18  0:00     ` Comments? Lance Kibblewhite
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox