Now that C++11 is beginning to appear in popular compilers, C is becoming less relevant. C is now useful only to kernel writers and embedded systems programmers. You will not achieve employment with C as long as C++11 exists.
Prepare your anus.
Name:
Anonymous2012-07-10 14:25
It's not that hard to design and/or use thread/exception/leak safe interfaces in C++.
then why arent there any books that teach how to program 'safe C++'? You cant teach safe C/C++ for the same reason you cant teach safe OS systems administration, its something you can only learn with experience. The fact is there is no cookie-cutter method for making safe C++ code, you simply have to have a deep understanding of low level architecture, assembly, OS and libs, etc, everything a CS student would be expected to know. Which is why only CS graduates are the ones who like and are able to use C/C++ safely. After many wasted years of trying to learn C/C++ Ive realized all that time is wasted, I could have used D and gotten the exact same results as far as speed and low memory use. The things that C/C++ offer is of very little use to the average applications programmer.
Name:
Anonymous2012-07-10 15:03
>>15
to further this point: the only thing that C/C++ gives you is control, you have much more direct control of how the compiler interprets bytes in C/C++ than any other languagge. But that control comes at a cost of diligence, the programmer is expected to watch over things that the compiler would normally control in other languages. This is hard to do and is why that coding standards are put in place in places like MS to try and keep all the dangers of buffer overflows in check. But its a losing battle, eventually people are going to use D and Go more instead of fighting to control C/C++. I predict that as soon as a AAA game studio produces a major 3D game in D, that will kill C++'s percieved advantage and relegate C/C++ to systems programming forever