On Fri, Aug 6, 2010 at 8:45 AM, Roy Smith <r...@panix.com> wrote:
> In article <i3e43n$v7...@lust.ihug.co.nz>,
>  Lawrence D'Oliveiro <l...@geek-central.gen.new_zealand> wrote:
>
>> In message <roy-6bcfa7.22564104082...@news.panix.com>, Roy Smith wrote:
>>
>> > C++, for all its flaws, had one powerful feature which made it very
>> > popular.  It is a superset of C.
>>
>> Actually, it never was.
>
> Yes, there are a few corner cases where valid C syntax has different
> semantics in C and C++.  But, they are very few.  Calling C++ a superset
> of C is essentially correct.

This is only true if you limit yourself to C89 (as python seems to
do). If  you start using C99 (and lot of people do, if only because
they don't realize it because gcc is quite relax about it), then
almost no non trivial C code is valid C++ in my experience.

David
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to