Why not allow empty code blocks?

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Jul 26 04:35:49 EDT 2016


Marko Rauhamaa wrote:
>    int a[3];
 >
>    a
> 
> produces a pointer to the array's first element.

Yes, and that makes using true pointer-to-array types
in C really awkward. You're fighting against the way
the language was designed to be used.

If you use a language in an un-idiomatic way, you can't
really complain when you have difficulties as a result.

-- 
Greg



More information about the Python-list mailing list