Re: Simplicity has a future



Harald van D?k said:

<snip>

Please tell me if any part of this, according to you, changes the
essential character, or makes it invalid C90, or if this isn't enough
to make it valid C++.

I'm impressed. You did a lot better than the last person to try. But you had
to hack the code around some - including one very tedious change to get
around the string literal problem.

You will, of course, recognise that the code was a highly compressed, and
thus artificial, illustration of portability problems between C and C++.
Unfortunately, in normal production code the problems are rather more
thinly spread out, and harder to spot. It is certainly true that some
people will simply mv foo.c foo.cpp, and then trust in God and their
compiler. I cannot help but see the risks in such an approach.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
.



Relevant Pages

  • Re: Y&R Some observations/questions
    ... Wedding on Friday-Monday, ... The writers got a bit hamfisted with this character, ...
    (rec.arts.tv.soaps.cbs)
  • Re: YAPC: Where to go next?
    ... > Dungeon Crawl version 4.0.0 beta 26 character file. ... >Oozer the Brawler (Sludge Elf) ... >(Level 21 Transmuter) ...
    (rec.games.roguelike.misc)
  • Re: Good initiative mechanics?
    ... If you snip everything else I say, ... initiative mechanics too. ... Why not use descending order of one's ... character to have to move more than half a dozen metres to get to cover. ...
    (rec.games.frp.advocacy)
  • Re: Why "Smith" Died
    ... Virginia Madsen's character? ... There was a lot of subtlety right on the ... his gang in the big shootout in "Heat", ...
    (rec.arts.tv)
  • Re: [CRIT] Opening
    ... character development, not one line :-) ... Buy your muse a beer. ... holes in foot-thick walls (with flints in) is not a noise-free process. ...
    (rec.arts.sf.composition)