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=2.1 required=5.0 tests=BAYES_20,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: 1014db,4873305131bf4d94 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,4873305131bf4d94 X-Google-Attributes: gid103376,public From: fred@genesis.demon.co.uk (Lawrence Kirby) Subject: Re: ADA and Pascal SUCK, C,C++, and Java are the only languages you need!! Date: 1997/11/01 Message-ID: <878410553snz@genesis.demon.co.uk>#1/1 X-Deja-AN: 286469462 References: <34557f2b.1934172@news.mindspring.com> X-Mail2News-Path: genesis.demon.co.uk Reply-To: fred@genesis.demon.co.uk Distribution: world X-Mail2News-User: fred@genesis.demon.co.uk X-Complaints-To: abuse@demon.net X-Trace: mail2news.demon.co.uk 878411602 19907 fred genesis.demon.co.uk Organization: none Newsgroups: comp.lang.ada,comp.lang.c Date: 1997-11-01T00:00:00+00:00 List-Id: In article ** none ** writes: >Craig Franck writes: > >> Jon S Anthony wrote: >> >Alan E & Carmel J Brain writes: >> > >> >> C and C++ compilers differ by so much that porting is often a Nightmare. >> >> Before I get flamed, I'd like to talk to people who've actually ported >> >> code cross-platform. >> > >> >That's about right. Porting anything of substance written in C even >> >between compilers on the _same_ platform is depressing. FOE here... >> >> Sounds like you may have been a victim of the run of your patients. >> Well written C code is very portable. I've seen compiler upgrades >> break code, but only because it was trash to begin with. > >Yes, I thnk I can agree with that. But the point is it is so _easy_ >(though not as much with ANSI C) to write such trash. Even by >"accident". It depends on how well you know the language. One of the problems with C is that it has become a "mass-market" language that is badly taught. Not enough distinction is made between the standard language and what it guarantees (and indeed how to make good use of those guarantees) and implementation attributes and extensions. Once you do know the difference it is quite easy to write portable code in C. It is also what the comp.lang.c regulars try to promote. -- ----------------------------------------- Lawrence Kirby | fred@genesis.demon.co.uk Wilts, England | 70734.126@compuserve.com -----------------------------------------