3 ms·
K & R
by gregjor 4y ago
K & R
- coffeeblack 4y agoJust got this one a few days ago, liking it so far.
- stjohnswarts 4y agoI hear those guys know a lot about C.
- pjmlp 4y agoYet most ignore lint, created by those guys for good C programming practices.
- lloydatkinson 4y agoI don’t imagine OP had a 34 year old book in mind when there has been multiple C standards since then.
- anthk 4y agoFrom ANSI C to C99 there isn't many changes. Just read K&R C 2nd ed and then the book on Modern C which can be understood in a literal afternoon after doing the K&R one.
- marginalia_nu 4y agoK&R is still the gold standard, not just for C books but technical writing in general.
- icedchai 4y agoThose standards barely change anything. You could discuss the “new features” over the last 30 years in about 10 pages after learning the fundamentals. (10 pages may be high.)
- gregjor 4y agoSome of the best programming books date from that era. Programming hasn’t really changed all that much in decades. New tools and languages, sure. Mostly retreads or derivatives.
- flohofwoe 4y agoThe problem with K&R is that it stops at C89, while C99 almost feels like a new and much "friendlier" language (mainly because of compound literals and designated initialization). (e.g. shameless plug: https://floooh.github.io/2019/09/27/modern-c-for-cpp-peeps.html https://floooh.github.io/2019/09/27/modern-c-for-cpp-peeps.h...) K&R 2nd Edition is still a very good read of course, but mainly for all the little interesting details that are not directly related to the C syntax, but there really should have been a K&R 3rd Edition when C99 came around.
- gregjor 4y agoK&R remains one of the best books about learning C, and learning programming. There’s more to learning C, or any language, than learning the syntax.