3 ms·
No, but I don't think the K&R one is worthwhile either. It's far too outdated and teaches some bad practices. C99 in particular brought major improvements to
by loeg 8y ago
No, but I don't think the K&R one is worthwhile either. It's far too outdated and teaches some bad practices. C99 in particular brought major improvements to the C language that you should be using. And C11 and C17/18 continued to refine the language in incremental ways.
- saagarjha 8y ago> I don't think the K&R one is worthwhile either. It's far too outdated and teaches some bad practices. It’s old, but I didn’t see anything horrible in the book. What bad practices does it teach?
- loeg 8y agohttps://news.ycombinator.com/item?id=9333520 https://news.ycombinator.com/item?id=9333520
- saagarjha 8y agoNot a fan of Learn C the Hard Way, but I will agree with you that K&R is a bit light on details of how/why to write safe C code. I stand by K&R being the best book for learning C that I’ve read, though it goes nicely with a good application security curriculum ;)