From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,a03ae7f4e53958e1 X-Google-Attributes: gid10a146,public X-Google-Thread: 103376,8775b19e3c68a5dc X-Google-Attributes: gid103376,public X-Google-Thread: fac41,a03ae7f4e53958e1 X-Google-Attributes: gidfac41,public X-Google-Thread: 1014db,a03ae7f4e53958e1 X-Google-Attributes: gid1014db,public X-Google-Thread: 1094ba,a03ae7f4e53958e1 X-Google-Attributes: gid1094ba,public X-Google-Thread: 109fba,a03ae7f4e53958e1 X-Google-Attributes: gid109fba,public X-Google-Thread: fa0ae,a03ae7f4e53958e1 X-Google-Attributes: gidfa0ae,public X-Google-Thread: 114809,a03ae7f4e53958e1 X-Google-Attributes: gid114809,public From: bill@cafe.net (Kaz Kylheku) Subject: Re: Which language pays most? Smalltalk, not C++ nor Java. Date: 1997/12/29 Message-ID: <688vqb$k9q$1@brie.direct.ca>#1/1 X-Deja-AN: 311109754 References: <199712121931.LAA25389@sirius.infonex.com> <34A50CAA.54AA@netup.cl> <685mee$5d4$1@sparcserver.lrz-muenchen.de> <34A812F9.C169A703@its.cl> Reply-To: kaz@cafe.net Organization: Internet Direct Newsgroups: comp.lang.fortran,comp.lang.c,comp.lang.c++,comp.lang.eiffel,comp.lang.java.programmer,comp.lang.smalltalk,comp.lang.perl.misc,comp.lang.ada,comp.edu Date: 1997-12-29T00:00:00+00:00 List-Id: In article <34A812F9.C169A703@its.cl>, Guillermo Schwarz wrote: >It's nice to know C advances so fast I can't keep up to date with its >definition."Reserved as identifiers" is something meaningful to you? Can you >reserve a name as >a non indentifier? No, but you can reserve a name for use as one kind of identifier but not another. ``Reserved for external linkage'' means that your program cannot define certain identifiers such that these identifiers have external linkage. It means that you can still use 'memcpy' as the name of a local variable, as a typedef name, or as a name with internal linkage or a macro name. (However, if you use the name in these ways, you may not include the header in the translation unit because such uses may clash with that header.) >"with external linkage"? Those are too many words just to mean an extrernal >name. The term ``external name'' is a short way of saying ``name with external linkage''. What's the big deal about that? >The point is, at least when I studied the good and old K&R, it didn't mention > >"reserved as identifiers with external linkage", that for me means "don't >touch this, Note that what is now the library was not yet a formal part of the language then. The standard C library had its beginnings as an actual UNIX library. Anyway, K&R1 did _not_ bless any program which has multiple definitions of external names! The library is a required component of a hosted implementation of modern, standard C. Thus it follows that its external names are off-limits to the programmer who wishes to write strictly conforming C code, or come as close as possible. >or trick"... The C guys modify their language each 3 months just when they >realize >something is missing. If you think it is funny, I think it is pretty messy. Nonsense. The standard has been stable for 8 years now, with only very minor changes in response to genuine defect reports, the addition of one header file and support for wide character I/O. Prior to the standard, the C language was in shambles. The big changes are coming in C9X, which will be a distinct language from 1989 C. >In Smalltalk, there is USUALLY no need to change the language, but just the >need >to add new classes and methods to achieve what's needed. Are you talking about an implementation of Smalltalk or the language Smalltalk? Based on your previous posting, it's obvious that you confuse the two. How do you add these new methods and classes to the *language*? That would require that you join some committee and push for the changes to be added to the language definition. If what you mean is that you can add some classes to your Smalltalk programming environment, then so what? You can also add your own libraries to a C project, or classes to a C++ project.