Re: learn C++ or C#
>Yes... the big difference is that with C#, errors manifest themselves
>
At least you KNOW there's something wrong when you get a random crash ...
Assuming it does crash. C++ can not only suffer from the same "incorrect
output" as C# (and to a potentially much greater degree), but it can also
result in very serious (and potentially "random") problems that may not
manifest themselves until long after the problem has occurred (in ways that
C# just isn't susceptible to). And you may never even notice it. You may be
filling your DB with garbage, generating invalid reports, displaying
incorrect information for users, etc., but it may not come to anyone's
attention depending on the nature of the problem. And if (when) it does, it
may be incredibly difficult if not (practically) impossible to track it
down.
Lol. You must have just graduated.
>Yes... the big difference is that with C#, errors manifest themselves
>as incorrect output or recognizable error messages rather than random
>crashes or memory leaks.
>crashes or memory leaks.
At least you KNOW there's something wrong when you get a random crash ...
output" as C# (and to a potentially much greater degree), but it can also
result in very serious (and potentially "random") problems that may not
manifest themselves until long after the problem has occurred (in ways that
C# just isn't susceptible to). And you may never even notice it. You may be
filling your DB with garbage, generating invalid reports, displaying
incorrect information for users, etc., but it may not come to anyone's
attention depending on the nature of the problem. And if (when) it does, it
may be incredibly difficult if not (practically) impossible to track it
down.
that incorrect output you get from your C# program is really much more
dangerous.
>
I think you and Larry and others here blowing the C# trumpet are vastly
over-stating the case about C++ being hard to use and hard to get right.
The fact is that bad programmers will write bad code in any language, and
if you want good code you have to employ good programmers. Once you have
those your problems will start to go away -- whatever language you are
using.
>
Of course, you need good management, too. Bad management and irrational
budgetary constraints can ruin a project just as easily as bad
programming.
dangerous.
>
I think you and Larry and others here blowing the C# trumpet are vastly
over-stating the case about C++ being hard to use and hard to get right.
The fact is that bad programmers will write bad code in any language, and
if you want good code you have to employ good programmers. Once you have
those your problems will start to go away -- whatever language you are
using.
>
Of course, you need good management, too. Bad management and irrational
budgetary constraints can ruin a project just as easily as bad
programming.
Comment