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

Chris Angelico rosuav at gmail.com
Wed Oct 11 15:01:38 EDT 2017


On Thu, Oct 12, 2017 at 5:35 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Chris Angelico <rosuav at gmail.com>:
>
>> On Thu, Oct 12, 2017 at 2:43 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
>>> That is not immediately all that significant but points to subtle
>>> incompatibilities between the data models of C and C++.
>>
>> Indeed - their handling of empty structs is different. But that
>> doesn't invalidate my point; how often do you declare a variable that
>> has nothing in it?
>
> In my case, this particular problem caused a bug once some years back.

Once. Probably in your entire career. In my case, never, and I spent
about fifteen years of my life writing mostly either C or C++ code.
This is NOT common.

ChrisA



More information about the Python-list mailing list