4 ms·
How does this book compare with "21st Century C"? I know that, unlike "Modern C", "21st Century C" can't possibly cover C17 because that book was released in 2
by k_sze 7y ago
How does this book compare with "21st Century C"?
I know that, unlike "Modern C", "21st Century C" can't possibly cover C17 because that book was released in 2014.
But otherwise, what would be notable differences? In terms of style, correctness, idiom, depth, and breadth?
- AlexeyBrin 7y agoC17/C18 is a minimal "bugfix release" to C11, mostly standard clarifications. https://en.wikipedia.org/wiki/C18_(C_standard_revision) https://en.wikipedia.org/wiki/C18_(C_standard_revision)
- bumblebritches5 7y ago1 macro was deprecated, ATOMIC_VAR_INIT, it's not needed. that's the only user facing change in C18.
- fermigier 7y ago"Modern C" is a beginners book. "21st Century C" is for people who have learned C in the past but need to brush up their knowledge with modern practices. As someone who learned C at the time of the first edition of the K&R, "21st Century C" would be more useful if I ever had to code in C again (which hopefully I won't). A refresh, 5 years later, would be useful, though.