Just when ......
Bill Campbell
linux-sxs
Fri Jun 10 11:36:47 PDT 2005
On Fri, Jun 10, 2005, Ben Duncan wrote:
>... 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.
>
>Really, REALLY strange, to wit:
It looks to me as though he's doing this to set global variables
in what is essentially an in-line function.
While I've done some defines I'm not particularly proud of, I've
never done anything as messy as this :-).
...
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
It is practically impossible to teach good programming style to
students that have had prior exposure to BASIC: as potential
programmers they are mentally mutilated beyond hope of
regeneration.
-- Dijkstra
More information about the Linux-users
mailing list