Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: style Message-ID: <7770@brl-smoke.ARPA> Date: 26 Apr 88 17:28:15 GMT References: <13115@brl-adm.ARPA> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <13115@brl-adm.ARPA> jfjr@mitre-bedford.arpa (Freedman) writes: > Now, as a former Pascal programmer I like the typedef method >MUCH better than the tag method. My question is this: Is >there any reason one method is preferred over the other? Typedef was added to C after struct tags. For the most part it is more convenient to use typedef. Sometimes it is easier to use tags, though, as in struct my_tag { struct my_tag *link; data_t data; };