On Wed, 31 Oct 2001, Jamey Kirby wrote:
Most have no clue at all. Many have never written a program in C. I
think it is imperative to fully understand C before attempting to use
any C++ semantics. I hate those people who say “C++ is a better C”.
Atrrrrrrggggg…
But it often is.
A common usage of C++ is “C with stronger type-checking”. C++ doesn’t
force you to use virtual methods or inheritance or STL… and whilst
they’re certainly useful features in many fields, they’re not the only
difference between C and C++. There are a number of small differences
between the languages; many of them are minor in themselves (e.g. not
having to say “struct” to declare a struct, being able to declare
variables wherever, tighter scoping rules), along with a generally
stricter requirement to require one to say what one means (w.r.t. type
conversions).
Anything which makes a potential run-time bug into a compile-time bug is a
Good Thing, and C++ has more features in this direction than C – thus, it
is a better language.
–
Peter xxxxx@inkvine.fluff.org
http://www.inkvine.fluff.org/~peter/
logic kicks ass:
(1) Horses have an even number of legs.
(2) They have two legs in back and fore legs in front.
(3) This makes a total of six legs, which certainly is an odd number of
legs for a horse.
(4) But the only number that is both odd and even is infinity.
(5) Therefore, horses must have an infinite number of legs.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com