[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

On Wednesday, October 11, 2017 at 3:14:51 PM UTC+1, bartc wrote:
> On 11/10/2017 14:16, Marko Rauhamaa wrote:
> > Python and C don't try to protect you. In return, you get syntactic
> > convenience that probably enhances the quality of your programs.
> 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.
> -- 
> bartc

https://cdecl.org/ tells me that your variable declaration is a syntax error so maybe not much of an example.

Kindest regards.

Mark Lawrence.