3 ms·
> There’s a lot of reading material out there. For the basics, I still recommend that students purchase K&R. People say good things about C Programming: A Moder
by tomcam 8y ago
> There’s a lot of reading material out there. For the basics, I still recommend that students purchase K&R. People say good things about C Programming: A Modern Approach; I’ve only skimmed it.
This early quote filled me with dread. The article fulfilled that dread. IMHO K&R was a classic book but C has changed far too much for that to be of service to students, who would have to unlearn as much as they learn.
Then the author, a college teacher, offhandedly mentions another outdated book as if to recommend it but admits no firsthand knowledge of it. A serious programming student taking these recommendations has just spent a hundred bucks or so and a great deal of precious study time on material that will derail them from their studies with no benefit at all.
- docbrown 8y agoIs there any updated texts that you or anyone else would recommend for people new to C?
- MarvelousWololo 8y agoI'd love to know this as well.
- GolDDranks 8y agoI don't know whether you read the article through, but he later has strong stances against some books with outdated or bad advice. Furthermore, he is well aware of the fact that C (and systems programming, and systems themselves) has changed over the years. In general, John Regehr (a professor, not a college teacher, mind you) is very knowledgeable of C, compilers and especially systems programming languages, memory safety and undefined behaviour. I would say that his words have some serious weight.
- selftaughthelp 8y agoI'm self taught (well, related degree) so I missed out on OS and compiler classes that got into C beyond a basic level. What is the best resource out there for someone who is interested in learning C from a systems programming perspective? I would LOVE to dive in and learn everything I can about it, but there is so much contention out there about what to learn/where to learn it from that I get analysis paralysis and end up going nowhere with my interests.
- saagarjha 8y agoK&R is a bit old, but I think it still serves as a good introduction to C. It can be supplemented with newer material, but it still serves as a pretty solid foundation.