Re:Linus Torvalds on C++
by icebraining on Tuesday February 28, 2012 @08:56AM
(#3643132)
The single simple feature that I don't have to declare all my variables in the beginning of the method but where it's actually used is enough to kick the ass of C to the curb.
You're about twelve years outdated: https://en.wikipedia.org/wiki/C99
Also, you could declare variables at the start of any block in C, not just the start of a function, prior to C99.
To object against C++ with the argument that incompetent coders can do bad things... well, it's nonsense. Incompetent coders can do bad things in ANY language. For competentt coders thugh, C++ means increased productivity and resusability, and in the end, that's what counts.