Piggybacking of this post, if anyone has any similar resources for best practices in modern C I'd be interested. There don't seem to be any moocs that go beyond introductory material and K&R obviously doesn't cover modern tools and methods.
“C Interfaces and Implementations” by David R. Hanson is what I used when I had a similar concern a few years ago. It’s from 1997, so no, it doesn’t cover the newest C standards, which I understand is your main concern. Though C11 didn’t add too much semantically, for what it’s worth. That said, the book provides great design patterns for writing C in an object-oriented sort of manner, more idiomatic to OOP.
Peter Hintjens was writing “Scalable C” a couple years ago, but recently died, and never got very far unfortunately.
There's the "Modern C" book from http://icube-icps.unistra.fr/index.php/Jens_Gustedt. Very opinionated, but it covers a lot of ground and if you disagree, it gives you a framework for figuring out your own preferences.
My biggest question would be what modern means to you? Does it mean the style of the newest popular C project? The newest standard (C11)? And what devices are you using C for? I'd assume a standard POSIX environment, but you can't be sure with C.
modernclearning|8 years ago
Peter Hintjens was writing “Scalable C” a couple years ago, but recently died, and never got very far unfortunately.
sevensor|8 years ago
isaachier|8 years ago
jxub|8 years ago