[farther OT] Re: Why Is Escaping Data Considered So Magical?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Thu Jul 1 19:50:59 EDT 2010


In message <4c2ccd9c$0$1643$742ec2ed at news.sonic.net>, John Nagle wrote:

> The approach to arrays in C is just broken, for historical reasons.

Nevertheless, it it at least self-consistent. To return to my original 
macro:

    #define Descr(v) &v, sizeof v

As written, this works whatever the type of v: array, struct, whatever.

> So parameter passing in C is very dumb.

Nothing to do with the above issue.



More information about the Python-list mailing list