Article View: comp.std.c++
Article #2942Re: stop adding keywords to C++
From: Jerry Coffin
Date: Fri, 15 Dec 1995 09:18
Date: Fri, 15 Dec 1995 09:18
37 lines
1806 bytes
1806 bytes
jychen@aruba.ccit.arizona.edu (Joseph Y Chen) wrote:
[ ... ]
>I have not objection to boolean type. But those added key words like
>and, or, xor, etc, just make C/C++ awful, reminding me of Basic which
>has far too many key wods. I agree that people using C/C++ aren't fools
>and they don't need those added key words.
Rather than "fools", the keywords were added to help people whose
keyboards don't include all the punctuation to which those using English
are generally accustomed. The previous attempt along this line was
trigraphs. The real question is not whether:
if (( x or y ) xor z)
is better than:
if ( (x || y) ^ z )
but whether it's better than:
if (( x ??!??! y ) ??' z )
which is how it comes out using trigraphs.
I don't mean to insult anybody, but it's my opinion that anybody who
finds the trigraph version preferrable has serious mental problems.
Later,
Jerry.
/* I can barely express my own opinions; I certainly can't
* express anybody else's.
*
* The universe is a figment of its own imagination.
*/
---
[ 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:
<4apug6$k5v@natasha.rmii.com>Path:
arc1-ca.pugleaf.net!tcsi.tcs.com!agate!agate!mattReferences:
<Pine.SOL.3.91.951203010216.13007A-100000@barney> <49vplf$mvs@engnews2.Eng.Sun.COM> <4a12d7$vps@mujibur.inmind.com> <4alt1o$13a2@news.ccit.arizona.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!tcsi.tcs.com!agate!agate!matt From: jcoffin@rmii.com (Jerry Coffin) Newsgroups: comp.std.c++ Subject: Re: stop adding keywords to C++ Date: 15 Dec 1995 09:18:18 GMT Organization: TAEUS Approved: matt@Austern (Matt Austern) Message-ID: <4apug6$k5v@natasha.rmii.com> References: <Pine.SOL.3.91.951203010216.13007A-100000@barney> <49vplf$mvs@engnews2.Eng.Sun.COM> <4a12d7$vps@mujibur.inmind.com> <4alt1o$13a2@news.ccit.arizona.edu> NNTP-Posting-Host: austern.hip.berkeley.edu