(no title)
esamatti | 5 years ago
Along Modern C I found these modern(ish) C books:
- C Programming: A Modern Approach, 2nd Edition by King
- 21st Century C by Ben Kelemens
- Learn C the Hard Way by Zed Shaw
Can anyone recommend some of these for my background?
Besides Rust I've mostly used Webdev languages JS (mostly TypeScript these days), Python, Ruby, PHP, some Java back in the day.
pjmlp|5 years ago
"Secure Coding in C and C++, Second Edition"
https://www.oreilly.com/library/view/secure-coding-in/978013...
"Extreme C"
https://www.packtpub.com/product/extreme-c/9781789343625
dave84|5 years ago
liendolucas|5 years ago
macintux|5 years ago
GeertVL|5 years ago
wsc981|5 years ago
dasb|5 years ago
Areading314|5 years ago
_l4jh|5 years ago
If you're coming from COBOL and wanting to learn C (like the target audience at the time the book was written) ok perhaps it is a good book for you. But if you're coming from something like Python or Java or JavaScript (or even no language at all) there are better options such as K N King's A Modern Approach.
K&R is a fantastic book in its own right and I certainly think once you feel more comfortable with C it is a superb book to read and more importantly complete as many of the exercises as you can.
It is that I have seen too many people come from higher level languages or with no programming knowledge and find K&R frustrating due to its assumption the reader is already a programmer in some other (1970s) language with a fundamental understanding of some programming concepts.
pjmlp|5 years ago
nine_k|5 years ago
OTOH a microcontroller is an acceptable approximation of a PDP-11, so much of the old approaches are very directly applicable.