Hacker News new | ask | show | jobs
by luriel 5137 days ago
If you want to learn C, K&R is the right way to do it.

C: A Reference Manual is excellent and is probably the only other C book you need, but only if you are already a C programmer, and only for what the title implies: reference.

3 comments

In addition to K&R I always recommend "C Interfaces and Implementations: Techniques for Creating Reusable Software" to anyone who is picking up a long-term hobby or career in C.

Someone on this forum recommended it to me. It's been invaluable assisting me in refactoring major portions of a legacy code base. In a way, it's helped me bring the DRY principle to our C application. I write in C every single day though and it may not be applicable for a hobbyist/generalist.

That's probably the book I need. I've wondered how I'm actually supposed to structure stuff in C so it's not too gross.
I've already read K&R! Don't worry. I know it's the must-read book on C.
K&R is a book not suitable for beginner tutorial in C, especially modern C. As a reference type work, ok.
No, but it's perfect for an experienced programmer in other languages to pick up C.
I really would like an updated version of it, but I guess it will never be written.