K&R is overrated, just like many "cult" books are. I read C: ARM by Harbison and Steele and after trying to read K&R I stopped because I wasn't getting anything new out of it. Edit: Further proof of this is the blind downvoting typical of critiques of "cult" books. K&R just happened to be there at the right time and it was the first programming book for many people. Their nostalgia makes them think that it is a very…
32 years on, K&R's "The C Programming Language" still stands alone
51–60 of 70 posts
Re: 32 years on, K&R's "The C Programming Language" still stands alone
#52Very nice semantics, but hideous syntax. Pascal had it done right with a more linear declaration syntax. C looks like lisp in a bad way if you make slightly nontrivial declarations. Of course to make matters worse somebody went on and made C++, which must be the most hideous language ever to evolve, possibly because its creator borrowed heavily ideas from how his native natural language Danish was formed; It is mostl…
C's syntax is much more terse than Pascal's; whether that makes it better or worse is open to discussion. begin...end or {...} ? I would argue that Pascal's syntax is easier to learn, but that C's is easier to use once learned. And since I spend more time using languages than learning them, the latter is more important to me.
Re: 32 years on, K&R's "The C Programming Language" still stands alone
#53The first and probably only programming book I've read completely.
Re: 32 years on, K&R's "The C Programming Language" still stands alone
#54How does it compare to C Programming: A Modern Approach, by K.N. King? That was great for learning C. Very readable.
Re: 32 years on, K&R's "The C Programming Language" still stands alone
#55There is, essentially, nothing to be known about C beyond what is in this book. If you can read those 272 pages, and understand them all, then you are well on the way to being a C wizard. Say what? This is like saying that once you know what all the commands in Illustrator do, you're well on your way to being a professional illustrator. The reason that K&R is so small is that so much of C programming happens outside/…
Re: 32 years on, K&R's "The C Programming Language" still stands alone
#56The thing that has always struck me about K&R is that it contains no fluff. You get so much information for each paragraph, that you often have to re-read them to get all the information contained therein. Probably the programming book I've used the most. In contrast, the C++ programming language is a mouthful, and ended up being just another pretty book on my bookshelf.
Stroustrop is, or at least in its later editions became, a pretty indespensable C++ book. Most of the topics in C++ are best addressed by it. Unfortunately, C++ is a nightmare of a language, so there are many, many topics, and you don't read it cover-to-cover any more than a cook would read New Pro Chef or McGee cover-to-cover.
Re: 32 years on, K&R's "The C Programming Language" still stands alone
#57Re: 32 years on, K&R's "The C Programming Language" still stands alone
#58It was written in a different era where publishers weren't inflating page counts for sales.
Re: 32 years on, K&R's "The C Programming Language" still stands alone
#59Re: 32 years on, K&R's "The C Programming Language" still stands alone
#60K&R is overrated, just like many "cult" books are. I read C: ARM by Harbison and Steele and after trying to read K&R I stopped because I wasn't getting anything new out of it. Edit: Further proof of this is the blind downvoting typical of critiques of "cult" books. K&R just happened to be there at the right time and it was the first programming book for many people. Their nostalgia makes them think that it is a very…
Personally I adore both books. I do find H&S more useful particularly because it is more comprehensive and up to date (very good coverage of C99, not just a listing of changes in some appendix but has discussions about C99 throughout the book).