Python for air traffic control?
Neil Hodgson
nhodgson at bigpond.net.au
Wed Jul 4 18:44:23 EDT 2001
Courageous:
> typedef int plane_t;
>
> >Is this what you wanted to have in C ?
>
> No. What you're asking for doesn't work, although it might be
> useful if it did. As it is, this will never get into the stanard, however.
> It would break too much code.
Linting tools can be used to enforce better static type safety than is
normal with C. Gimpel's PC-lint with the -strong setting will warn about
mixing variables of different typedef types even when the underlying types
are the same.
Neil
More information about the Python-list
mailing list