Article View: comp.std.c++
Article #2934Re: stop adding keywords to C++
From: Kevin Lentin
Date: Thu, 14 Dec 1995 20:24
Date: Thu, 14 Dec 1995 20:24
32 lines
2165 bytes
2165 bytes
Tim Hollebeek (tim@franck.Princeton.EDU) wrote: > Matt Austern <matt@physics.berkeley.edu> wrote: > > > >Alternative tokens, in other words, solve the same problem that > >trigraphs do. Personally, though, I think that alternative > >tokens are a much nicer solution. I'd much rather read an > >expression like "i < 0 or i >= n" than one like "i < 0 ??!??! i >= n". > > Now back to the issue at hand. Having lots of keywords makes this > problem even worse, unless you have an editor that can highlight them > automatically for you. The are simply too hard to pick out by eye. > && is much easier to see and recognize than 'and' is. I think you misssed Matt's point. He was not saying that 'or' was better than '||'. We was saying that if you have a character set with no | character, then 'or' is a far better alternative than the trigraphs ??!??! If you've never seen trigraphs before, look them up. I think the ARM has a list. They are truly ugly things. -- [=======================================================================] [ Kevin Lentin | The Mighty Carlton Blues | ] [ K.Lentin@cs.monash.edu.au | 1995 AFL Premiers | ] [ Macintrash: 'Just say NO!' |CARLTON 21-15-141 d geelong 11-14-80| ] [=======================================================================] --- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<4ao274$ce3@harbinger.cc.monash.edu.au>Path:
arc1-ca.pugleaf.net!howland.reston.ans.net!agate!agate!mattReferences:
<Pine.SOL.3.91.951203010216.13007A-100000@barney> <4a12d7$vps@mujibur.inmind.com> <4alt1o$13a2@news.ccit.arizona.edu> <MATT.95Dec13025435@Austern> <4an1nq$5s0@cnn.Princeton.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!howland.reston.ans.net!agate!agate!matt From: kevinl@fangorn.cs.monash.edu.au (Kevin Lentin) Newsgroups: comp.std.c++ Subject: Re: stop adding keywords to C++ Date: 14 Dec 1995 20:24:47 GMT Organization: Monash University Approved: matt@Austern (Matt Austern) Message-ID: <4ao274$ce3@harbinger.cc.monash.edu.au> References: <Pine.SOL.3.91.951203010216.13007A-100000@barney> <4a12d7$vps@mujibur.inmind.com> <4alt1o$13a2@news.ccit.arizona.edu> <MATT.95Dec13025435@Austern> <4an1nq$5s0@cnn.Princeton.EDU> NNTP-Posting-Host: austern.hip.berkeley.edu