home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!aries.scs.uiuc.edu!mcdonald
- From: mcdonald@aries.scs.uiuc.edu (J. D. McDonald)
- Subject: Re: Questions about token merging and trigraphs
- References: <1TA04E3@cdis-1.compu.com> <2404@sdrc.COM> <mcdonald.610@aries.scs.uiuc.edu> <1992Dec18.205405.24296@klaava.Helsinki.FI>
- Message-ID: <mcdonald.625@aries.scs.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: UIUC SCS
- Date: Sat, 19 Dec 1992 17:14:41 GMT
- Lines: 53
-
- In article <1992Dec18.205405.24296@klaava.Helsinki.FI> wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) writes:
-
- >mcdonald@aries.scs.uiuc.edu (J. D. McDonald) writes:
- >>Trigraphs were by far the most serious mistake made by the ANSI C
- >>committee, as serious, in fact, as the myriads of stupid things done by the
- >>Fortran committee.
- >>
- >
- >>THEY BREAK EXISTING CODE!!!
-
- >I assume that you are also of the opinion that everything else that
- >breaks existing code should have been left out of the standard?
- No, only things that break existing 100% legal K&R I code.
- For example, lots of code assumed that this_is/**/_two_symbols
- actually meant this_is_two_symbols than the correct
- this_is _two_symbols. Such code was already broken.
-
- However, with few exceptions things that worked
- >(portably) in K&R C, still work unchanged. Trigraphs are one of the
- >exceptions,
-
- And it gets flamed because they are a stupid idea.
-
-
- >What I don't understand is why so many people are so vehemently
- >opposed to trigraphs.
-
- Because they break existing 100% correct code and are 100% unnecessary.
-
-
- >I can't see a better solution than trigraphs
- Solution to what problem?? If you are stupid enough to not use a
- character set that contains those characters, **get a better character
- set**. They are, and were, readily available, you know.
-
-
- >But perhaps it is part of a larger opposition against the standard.
- >There are a number of people who seem to think that the standard is,
- >to various degrees, a pile of shit, and that everything the committee
- >did was wrong.
-
- That is true. X3J3 made a total utter botch, and as a result Fortr...
- oops, that's the wrong langauage. Still, Fortran 90 **is** an utter
- botch and will likely never become widely used.
-
- ANSI C is not an utter botch .. in fact, the only botched part
- is trigraphs!! That what's so galling ... one big fat ugly botch
- on an otherwise remarkably well done thing.
-
- It's not fatal, like the lack of ligatures in Unicode. Just like
- a moustache on the Mona Lisa.
-
- Doug McDonald
-