Lies in education [was Re: The "loop and a half"]

Chris Angelico rosuav at gmail.com
Wed Oct 11 09:46:56 EDT 2017


On Thu, Oct 12, 2017 at 12:16 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Rhodri James <rhodri at kynesim.co.uk>:
>
>> C++ is designed, true, but well designed? It has a fundamental flaw;
>> it wants to be both a high-level language and compatible with C, under
>> the mistaken impression that C is a high level language. Since C is
>> actually an excellent macro-assembler, this dooms the exercise from
>> the very start.
>
> C++ was never compatible with C, any more than Peter Jackson's Hobbit
> movies were a rendition of JRR Tolkien's "Hobbit, or There and Back
> Again."

The places where C++ is not a superset of C are mostly things you
wouldn't want to be doing anyway. You can generally take C code and
compile it with a C++ compiler, and it'll have the same semantics.

ChrisA



More information about the Python-list mailing list