4 ms·
I've written many tens of thousands of lines of C, but retired 15 years ago. The two best books I know are: 1. C: A Reference Manual, by Harbison and Steele. h
by LocalMan 7y ago
I've written many tens of thousands of lines of C, but retired 15 years ago. The two best books I know are:
1. C: A Reference Manual, by Harbison and Steele.
https://www.amazon.com/Reference-Manual-Samuel-P-Harbison/dp/013089592X/ref=dp_ob_title_bk https://www.amazon.com/Reference-Manual-Samuel-P-Harbison/dp...
2. The C Puzzle Book, by Alan Fueur.
https://www.amazon.com/Puzzle-Book-Alan-R-Feuer/dp/0201604612 https://www.amazon.com/Puzzle-Book-Alan-R-Feuer/dp/020160461...
Harbison and Steele has much better explanations than K&R.
The Fueur book taught me a lot about C declarations. Declarations are that part of C language that is them most unnecessarily difficult.
You asked about a slightly different question, best practices. But in the real world you'll run into a lot of code that practices below that level.