Just when ......

Kurt Wall kwall
Fri Jun 10 19:56:53 PDT 2005


On Friday 10 June 2005 09:20, Ben Duncan enlightened us thusly:
> ... you thought you have seen it all.
>
> In my never ending quest to find a multi-user, variable length,
> typeless, key indexed data file manager for my SLAG project,
> I came across one that had all of the I/O mechanics done as #define
> statements.

Gawd. Why would anyone want to abuse the preprocessor this way?

> Really, REALLY strange, to wit:
>
> #define DOREADRC(FDESC, FBUFF, FBUFF_LEN, RC) \
> { \

[long macro deleted for the sake of the children]

That's fugly and bletcherous.

Kurt


More information about the Linux-users mailing list