Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

K&R (draft ANSI edition) was my first C book and still sits on my shelf. I learned C code from it and it was my goto reference for many years. There is a fair bit of nostalgia for that book.

But, at this point in my life, I believe the K&R book is a good read if you are into the history of programming languages or going to write a book about your own language and want to avoid the bloat common in computer books. It is not a great modern C book and has not been updated in years. I wish this wasn't true, but pointing new programmers to that book in anything other than a historical context is just not serving them well.

It is really too outdated and does not cover the language as it is used or safe programming in the language. I'm not sure what the replacement is these days.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: