Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1357

Re: Comments, was Programming language and IDE design

From "BartC" <bc@freeuk.com>
Newsgroups comp.compilers
Subject Re: Comments, was Programming language and IDE design
Date 2014-08-01 13:15 -0400
Organization virginmedia.com
Message-ID <14-08-001@comp.compilers> (permalink)
References <13-10-016@comp.compilers> <13-10-022@comp.compilers> <13-10-025@comp.compilers>

Show all headers | View raw


"BartC" <bc@freeuk.com> wrote in message news:13-10-025@comp.compilers...

> (I've used 'fi', 'esac' and 'od' for 30 years, they seem completely
> natural to me. However, 'hctiws', 'pool', 'nigeb', 'noitcnuf' and such
> look seriously weird...)
>
> [ COMMENT looks fine to me TNEMMOC -John]

That would be preferable to actual Algol-68 syntax which seems to use
COMMENT ... COMMENT bracketing. If used to comment out blocks of code, you
can't tell, at a glance, whether any particular COMMENT is an opening or
closing one! It makes nested comments awkward too; a bit like using {,{
braces instead of {,}.

--
Bartc
[Algol68 used comment, co, #, or � (a cent sign) in matching pairs
to delimit comments, sort of like recent languages use '' and "" for
strings.  No doubt it seemed like a good idea at the time. -John]

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Programming language and IDE design Martin Ward <martin@gkc.org.uk> - 2013-10-17 11:06 +0100
  Re: Programming language and IDE design "BartC" <bc@freeuk.com> - 2013-10-19 22:05 +0100
    Re: Programming language and IDE design Martin Ward <martin@gkc.org.uk> - 2013-11-07 19:40 +0000
      Re: Programming language and IDE design glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2013-11-08 05:21 +0000
      Re: Programming language and IDE design Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2013-11-08 06:45 +0100
      Re: Programming language and IDE design George Neuner <gneuner2@comcast.net> - 2013-11-08 16:04 -0500
      Re: Programming language and IDE design "Jonathan Thornburg" <jthorn@astro.indiana.edu> - 2013-11-10 04:41 +0000
  Re: Programming language and IDE design Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2013-10-20 03:22 +0200
  Re: Programming language and IDE design Gene Wirchenko <genew@telus.net> - 2013-10-20 14:03 -0700
    Re: Programming language and IDE design Gene Wirchenko <genew@telus.net> - 2013-10-21 14:44 -0700
  Re: Programming language and IDE design George Neuner <gneuner2@comcast.net> - 2013-10-22 16:17 -0400
    Re: Programming language and IDE design Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2013-10-23 03:40 +0200
    Re: Programming language and IDE design wclodius@earthlink.net (William Clodius) - 2013-10-22 19:56 -0600
    Re: Programming language and IDE design "BartC" <bc@freeuk.com> - 2013-10-23 19:09 +0100
      Re: Comments, was Programming language and IDE design "BartC" <bc@freeuk.com> - 2014-08-01 13:15 -0400
    Re: Programming language and IDE design Stefan Monnier <monnier@iro.umontreal.ca> - 2013-10-24 10:55 -0400
      Re: Programming language and IDE design George Neuner <gneuner2@comcast.net> - 2013-10-24 19:57 -0400

csiph-web