more about programming style

Walter Bright bright at dataio.UUCP
Fri Jul 26 19:26:00 AEST 1985


In article <218 at pedsgd.UUCP> bob at pedsgd.UUCP (Robert A. Weiler) writes:
>I would appreciate comments, suggestions, etc. on additional ways to
>make type declarations more readable. But enough already about ++.

Howze about:

char (*f[6])();	/* <array of><pointer to><function returning><char> */

I don't think that burying the declaration in macros and typedefs
necessarilly makes it more readable. Using comments to describe the
more obscure delarations makes them more understandable.



More information about the Comp.lang.c mailing list