Path: utzoo!utgpu!news-server.csri.toronto.edu!dgp.toronto.edu!flaps Newsgroups: comp.lang.c From: flaps@dgp.toronto.edu (Alan J Rosenthal) Subject: Re: Nested Comments in C -- A recent experience Message-ID: <1990Mar27.150502.13077@jarvis.csri.toronto.edu> References: <9631@wpi.wpi.edu> <1990Mar18.045238.18224@utzoo.uucp> <5418@jarthur.Claremont.EDU> <581@nlsun1.oracle.nl> <5497@jarthur.Claremont.EDU> Date: 27 Mar 90 20:05:03 GMT Lines: 21 dfoster@jarthur.Claremont.EDU (Derek R. Foster) writes: >I don't hear about anybody claiming that languages which support typeof() or >__handle pointers, or other extensions that don't appear in the standard are >"not C". Instead, they are "Dialects of C". Creating a keyword `__handle' is backward-compatible with C, in the sense that all correct C programs will continue to exhibit the same behaviour (because user identifiers may not begin with `__'). Adding `typeof' is almost backward-compatible, and will work so long as this identifier is not otherwise used. It should have been `__typeof'. Adding that nested comments idea will probably break about 10 or 15 per cent of all programs with a non-trivial maintenance history. It is not C. Also, none of these other changes are lexical-level changes. ajr -- "Learning algorithms from Knuth is almost as bad as learning physics from Newton in the Latin original." -- Jeffrey Kegler