5 ms·
Just learn C by reading and working through the K&R book. (It's one of the best CS books ever written.) https://www.amazon.com/Programming-Language-2nd-Brian-K
by redis_mlc 5y ago
Just learn C by reading and working through the K&R book. (It's one of the best CS books ever written.)
https://www.amazon.com/Programming-Language-2nd-Brian-Kernighan/dp/0131103628 https://www.amazon.com/Programming-Language-2nd-Brian-Kernig...
Also, there's nothing magical about pointers - scripting languages use "handles", which is the same thing except they're read-only to the end-user programmer.
The real challenge with C is multi-threaded programming, so don't do that if you don't need it.
- dvfjsdhgfv 5y ago> Just learn C by reading and working through the K&R book. (It's one of the best CS books ever written.) This is really an amazing feat: books on programming languages age really fast. This one - not so much. And you can really appreciate the careful thought that was put in each sentence. Peerless. > The real challenge with C is multi-threaded programming, so don't do that if you don't need it. Well, these days it's harder and harder to avoid it if you want to write efficient apps - we got more cores and the clocks remain more or less the same.
- redis_mlc 5y ago> Well, these days it's harder and harder to avoid it if you want to write efficient apps - we got more cores and the clocks remain more or less the same. There was some article a few years ago that said the apps they looked at didn't actually run faster after making some routines parallel, so it depends, and you will definitely have more debugging to do.
- cassepipe 5y agoPersonnally I have learned C following the CS50 course on Harvard's youtube channel and pointer came easily with http://alumni.cs.ucr.edu/~pdiloren/C++_Pointers/ http://alumni.cs.ucr.edu/~pdiloren/C++_Pointers/. It's a great (free as in beer) start.
- beej71 5y agoI agree. If you're only going to read one book, that's the book. :-)