4 ms·
Ask HN: I want to have a basic familiarity with C, shoudl I read K&R?
I don't plan (at this time) to use C professionally, but I do feel like understanding C well would benefit me professionally (I mostly do Typescript/JS)
I've been trying to settle on a good text to get a "good enough" understanding of C but many of them are much longer than I am motivated to invest in at this time, while K&R is very succinct/short.
- ThrowawayR2 6y agoI like K&R but it's so incredibly dated that it would be like reading the HTML 2.0 spec (from '95) to understand web frontend development today. Wouldn't recommend it.
- walrus_pen 6y agoThanks for the feedback! Any more brief texts that you recommend?
- ThrowawayR2 6y agoThe common suggestion seems to be Gustedt's "Modern C" (https://modernc.gforge.inria.fr/ https://modernc.gforge.inria.fr/) which is available in print but has a free ebook version. Just stop at the end of chapter 14 and it's probably around the same length as K&R. It's a bit heavy-handed on the prescriptiveness for my taste but decent material.
- walrus_pen 6y agoGreat, thank you!
- deleted 6y ago[deleted]