To: Darin Mcbride
Subject: Sunir ventures into C++
DM> int bar::foo(void) const;
DM> (since there is a "hidden" bar* parameter being passed in, in this
DM> case it's being changed to bar* const)
Oh, right.. that would make sense. ;)
SS> Oh wait, there is no standard........
DM> I'm not entirely sure how this is different from C which is undergoing
DM> revision...
The difference is that Microsoft, Borland, Symantec, etc. can change
their implementation any time they want and force it into the draft proposal
because they have so many on-siders on the committee. And if they don't,
the other compiler manufacturers will copy their new fun features just to
remain competitive.
ANSI C is almost rock solid. And the standard won't change in such a way
to break legacy code (i.e. stuff I wrote yesterday) whereas C++ might if it
sells more shiny packages.
I'm actually just complaining because C++ is not even close to C any more. I
was expecting something a little closer, but not at all... I figure I could
just consider C++ a new language and learn it from scratch... that'd probably
help me learn it faster/less painfully.
SS
--- Maximus 3.01
---------------
* Origin: BitByters BBS, Rockland ON, Can. (613)446-7773 v34, (1:163/215)
|