Back to the bookshelf

Typographic jacket · original cover not fetched

FROM THE SHARED SHELF · 2006–2026 SAMPLE

C Programming: A Modern Approach

K. N. King

8 readers recommend it across 5 discussions

Topics are model-inferred labels.

Keep it on your reading list

THE WORD OF MOUTH

What made it worth passing on?

Original Hacker News comments, in the readers’ own words.

stusmall
This is my favorite of the bunch. I remember picking it up as a long time C dev hoping to learn a new, modern approaches. It helped hammer home that you can only modernize a 50 year old language so much. I didn't come away with from it with a lot of new tricks or techniques. It's just a dated language that has a very specific time and place and when using it, you have to deal with its age.
armitron
King is good, also Seacord’s books: Effective C and Secure Coding .. Just ignore suggestions (parroting really) for K&R. It’s probably the worst introduction to C when it comes to good habits, undefined behavior and writing secure code, since it doesn’t even attempt to cover any of these but presents a total facade regarding what programming in C is like. K&R has created generations of people who call themselves C programmers but are essentially clueless when it comes to deep understanding of the language. Anyone that recommends K&R today is someone you want to avoid taking any advice on programming from.

Also recommended in this reply

gompertz
If that's what your looking for, I find books that are adopted as university textbooks are best. i.e. C Programming Modern Approach by KN King, Object Pascal Handbook by Marco Cantu. Generally I'm staying away from O'Reilly, No Starch Press etc.. They all feel like books created by pasting a bunch of blog posts together. University texts are usually twice the price, but IMHO worth it - they are made for teaching knowledge, not just sharing it.

Also recommended in this reply