Modern C
#475 of 2,654 all-time
Modern C
Jens Gusted
14 people recommended it in 4 threads, 2017–2022.
1 commenter pushed back on it — worth reading the threads.
What people on Hacker News said
I don't agree with everything in the document, but it contains a lot of cool things.
Secure C from Oreilly and Modern C from Manning are more relevant in 2022.
As some other posters do, I recommend "Modern C" by Jens Gusted.
The C language can be quite tricky to navigate (at least to me) and this book helped me a lot to understand writing idiomatic code.
From 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.
Where it comes up
- Learn C Programming with Open-Source Books 2017 · 7 recommendations
- Ask HN: Best book to learn C in 2022? 2022 · 5 recommendations
- Ask HN: What are the most fundamental books on computer science? 2019 · 1 recommendation
- Good books for deep hacks 2017 · 1 recommendation