Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ncsu.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!mcnc!ncsu!mauney From: mauney@ncsu.UUCP (Jon Mauney) Newsgroups: net.lang.c Subject: Re: type punting Message-ID: <2796@ncsu.UUCP> Date: Wed, 13-Feb-85 16:54:37 EST Article-I.D.: ncsu.2796 Posted: Wed Feb 13 16:54:37 1985 Date-Received: Fri, 15-Feb-85 06:00:18 EST References: <8125@brl-tgr.ARPA> Organization: N.C. State University, Raleigh Lines: 22 COMMENT I will refrain from pointing out that the given example uv type punning in C (doubly linked lists) is really a kludge to get abstract types and jeneric funkshuns in a languaj that doesn't support them. However I cannot refrain from pointing out yet another piece uv empirical evidens to show that the C languaj and its tradishuns encouraj the writing uv unreadable code. To wit, the funkshun > LINKP insque(LINKP p,LINKP q); /* insert p after q */ > { if (p) (((p->fwd = q->fwd)->bwd = p)->bwd = q)->fwd = p; > return(p); > } > I also won't say anything about imajinativ speling. TNEMMOC -- *** REPLACE THIS LINE WITH YOUR SIGNATURE *** Jon Mauney mcnc!ncsu!mauney C.S. Dept, North Carolina State University