Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!umd5!brl-adm!adm!dsill@nswc-oas.arpa From: dsill@nswc-oas.arpa (Dave Sill) Newsgroups: comp.lang.c Subject: Re: style Message-ID: <13154@brl-adm.ARPA> Date: 27 Apr 88 22:08:05 GMT Sender: news@brl-adm.ARPA Lines: 22 Tom Stockfisch writes: >In this case you can use > > typedef struct LIST { > struct LIST *link; > data_t data; > } LIST; > >since tags and typedefs are in different overload classes. >This usage is not strange looking if you think of the >initial "struct LIST" as meaning "BEGIN LIST DECLARATION" >and the final "LIST;" as "END LIST DECLARATION". Yuck. Although legal, taking advantage of separate name spaces like this is material for Obfucated C Code Contest entries. This example also comflicts with the popular convention of using uppercase-only names for macros. ========= The opinions expressed above are mine. Trivia Question: What is the origin of `uppercase'?