Just where has this language gone wrong?

Jacob Carlborg doob at me.com
Thu Jul 19 13:43:17 PDT 2012


On 2012-07-19 16:50, Alex Rønne Petersen wrote:

> I suspect that you have a C++ background. If this is not accurate,
> ignore the rest. But if it is accurate, my plea to you is: Learn other
> languages. C++ has next to no innovative language features (even C++11's
> take on lambdas is an abomination) and encourages defensive programming
> to the point where it's ridiculous (I mean, no default initialization of
> variables? In 2012?).

In C++ it's even better (irony). It depends on what kind of variable is 
declared. I.e. a global variable, a local, instance or a class variable 
(static). Some of these are default initialized, some are not. I have no 
idea which are initialized and which are not.

-- 
/Jacob Carlborg




More information about the Digitalmars-d mailing list