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

Chris Angelico rosuav at gmail.com
Wed Oct 11 10:36:16 EDT 2017


On Thu, Oct 12, 2017 at 1:14 AM, bartc <bc at freeuk.com> wrote:
> Python, maybe. C syntax isn't as painful as C++ but I still have a lot of
> trouble with it. (Eg. the variable declaration 'char(*(*x[3])())[5]'. The
> name of the variable can be found lurking in that lot somewhere, but what's
> the type?) Not so convenient.

People love showcasing stupid examples like that. But how often do you
REALLY make declarations that complex? That's not technically
strawmanning, since C syntax does indeed include that, but you're
cherry-picking the most extreme example.

ChrisA



More information about the Python-list mailing list