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


Groups > comp.compilers > #1357

Re: Comments, was Programming language and IDE design

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end
From "BartC" <bc@freeuk.com>
Newsgroups comp.compilers
Subject Re: Comments, was Programming language and IDE design
Date Fri, 1 Aug 2014 13:15:04 -0400 (EDT)
Organization virginmedia.com
Lines 19
Sender news@iecc.com
Approved comp.compilers@iecc.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>
NNTP-Posting-Host news.iecc.com
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="utf-8"; reply-type=response
Content-Transfer-Encoding 8bit
X-Trace miucha.iecc.com 1406913304 16794 2001:470:1f07:1126:0:676f:7373:6970 (1 Aug 2014 17:15:04 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Fri, 1 Aug 2014 17:15:04 +0000 (UTC)
Keywords syntax, design, comment
Posted-Date 01 Aug 2014 13:15:04 EDT
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Xref csiph.com comp.compilers:1357

Show key headers only | 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