Hacker News new | ask | show | jobs
by Areading314 2297 days ago
I would recommend "Learn C the Hard Way" by Zed Shaw to get you started for something practical, because it goes over how C is written in the real world. Of course, situations will vary. The original book about C by K&R is an excellent book too.
2 comments

Learn C the Hard Way is considered by the community to be, not exaggerating, one of the worst C books ever written.
Zed makes it clear in that book that he hates C and doesn't use it anymore due to its undefined behaviour.
Zed isn't actually very good at understanding undefined behavior and has demonstrated this loudly and repeatedly. I would steer clear of his book, personally.
> Zed makes it clear in that book that he hates C and doesn't use it anymore due to its undefined behaviour.

Really? Which part in the book specifically if you can cite the passage.

Smart man!