DEV Community

Discussion on: C vs. C++: Who is the winner?

Collapse
 
deanveggy profile image
dean robinson

another con of C / C++, if you don't anticipate some precise stuff like the exact number of char bytes for a variable, and remember the +1, the compiler doesn't warn you (it can't) and your program may crash at run time. I muuuuuch prefer C#, unless you are coding for stuff that is a step above assembly, for speed and space efficiency. eg. military submarines perhaps.

Collapse
 
thenomadevel profile image
Nomadev

Completely agreed, thanks Dean