Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!rutgers!clyde!cuae2!ihnp4!drutx!druhi!bryan From: bryan@druhi.UUCP (BryanJT) Newsgroups: comp.lang.c Subject: Re: C Review Message-ID: <1591@druhi.UUCP> Date: Wed, 14-Jan-87 10:16:17 EST Article-I.D.: druhi.1591 Posted: Wed Jan 14 10:16:17 1987 Date-Received: Thu, 15-Jan-87 22:04:19 EST References: <2313@brl-adm.ARPA> Organization: AT&T Information System Labs, Denver, Co Lines: 65 Summary: Yeah, he's off base. In article <2313@brl-adm.ARPA>, Peter@adm.UUCP writes: > I am currently finishing up a new text book on C with a colleague > of mine and we just received the last of several technical reviews. > This particular reviewer makes some statements that we find hard > to accept... As a professional C programmer, I thought I'd give you my "off the cuff" analysis. > "... 95% of all C programmers couldn't give you a good > explanation of the term lvalue..." I'd be the first to admit that this might be true (I can't define it personally in a way that makes any sense). All the more reason to spend time talking about what it means! > "... Switch/case could be classified as rarely used and should be > kept till later. This, on the other hand, is total nonsese. Get it in there early, especially for those Pascallers who remember "case ... of ..." > "... very few C programmers know much about sizeof..." This is also nonsense. Sizeof() is an important feature of the language, especially if you want to do dynamic memory allocation. > "... 99% of all professional C programmers have no idea > what typedef is all about, couldn't care less and probably > won't ever need it." Total garbage. A very important feature of the language. > "... 99% of all professional C programmers have no idea > what the comma operator is all about, couldn't care less and > probably won't ever need it." > > "... Leave the comma operator altogether. An intro book is no > place for obscure and unmaintainable tricks..." Even if it were true, they're going to see it sometime and had better know about it. Don't sacrifice completeness for "their own good." Anyway, the comma operator is an often-used shortcut. > > "... Pointers to functions ... few C programmers understand > them or would ever need them..." On the contrary, the better an explanation you can provide the more useful your book will be. Pointers to functions are one of the more useful, and least understood, aspects of the language! > "... a C programmer never needs to know what a byte is..." What!!!??? What kind of nonsense is this? -- -------------------------------------------------------------------------- John T. Bryan USENET: ...!ihnp4!druhi!bryan AT&T Information Systems PHONE: (303) 538-5172 12110 N. Pecos, #8C350 QUOTE: I didn't mean what you thought I meant Denver, CO 80234 you said. -------------------------------------------------------------------------- This is a disclaimer: I don't speak for AT&T, and they don't speak for me. --------------------------------------------------------------------------