I'm interested in learning C. I have read K & R, and I have even done some simple C extension work in R and Python. What's a worthwhile project idea for doing something more substantial with C? Any good online resources, similar to Dive Into Python? In particular, resources focused on programmers that already know newer languages who are trying to learn C (that mention things like "Asking an array for its length is nonsense in C, you lazy Pythonista").
My background:
Math/stats, day to day programming in Python, R, mostly around natural-language-processing, algorithms, and the like.
There is no need to learn C before learning C++. They are different languages. It is a common misconception that C++ is in some way dependent on C and not a fully specified language on its own. Just because C++ shares a lot of the same syntax and a lot of the same semantics, does not mean you need to learn C first.
C is more difficult to learn than JavaScript, but it's a valuable skill to have because most programming languages are actually implemented in C. This is because C is a “machine-level” language. So learning it will teach you how a computer works and will actually make learning new languages in the future easier.
Several years back, a friend of mine asked me that same question: "How do I learn C?" I told him to write a device driver.
Imagine my surprise when he actually did it.
Have a look at After K&R what book to use to learn programming in plain C?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With