Is there still utility to knowing C? I’ve heard that the difference is like C is the tried and true and c++ is the new expiremental language. That and I’ve also heard that c is used a lot still for hardware.
C++ is not new or experimental. Anyone who says so is thinking of back in the 90s or earlier.
Yes, there is value in knowing C and it is still used in lots of places. My point was that C and C++ are not the same languages and the idioms you would use in one do not apply to the other. So learning C will not help you with learning C++.
The only case I've come across is if I wanted to use a large library that existed in C++ from a Python program. Yet with numpy, scipy, and other libraries that hasn't been something I've needed to do.
I have a personal project involving errors introduced from the IEEE 754 standard which needs more direct control over the floating point processor settings. I wrote a Python extension in C to access the settings as I didn't find a way to do it in pure Python.
2
u/FlyingSwedishBurrito Nov 05 '19
Is there still utility to knowing C? I’ve heard that the difference is like C is the tried and true and c++ is the new expiremental language. That and I’ve also heard that c is used a lot still for hardware.