News for hackers. Stuff that matters.
Re:Ask HN: Best way to learn C by anigbrowl on Saturday January 02, 2010 @03:08PM (#1027586)
Personally, I found the best way was on a Linux system with two books: the Deitels' C: How to program which is a book about programming that happens to use C, and Matthew & Stone's Beginning Linux Programming which is a terrible book about programming but a very good book about programming in the linux environment, from command line utilities to KDE.

I'm assuming, of course, that you don't have a lot of programming experience. I like the Deitel book because it balances discussion of C syntax and good practice with discussion of thins like linked lists and binary trees, and when/why you should use them. Also, the exercises are varied and interesting.

The Linux book, by contrast, introduces the environment and popular Linux libraries very well, but inexplicably assumes that your primary goal in life is to implement an inventory control system, which is about the last thing I'd use C for.

Re:Ask HN: Best way to learn C by jrichter on Saturday January 02, 2010 @03:24PM (#1027600)
Thanks for the suggestions. I use Ruby for whatever I need, but I don't really understand all the lower level concepts. I read an article today on HN entitled "Why git is so fast (or why Java is not as fast as C" and it inspired me to find out why C is so important. I thought the best way to do that was learn about it. Bringing me to my question.