February 14, 2005
>>How about just:
>>
>>Airplane foo(10);   equivalent to    Airplane foo = new Airplane(10);
>>Airplane foo();     equivalent to    Airplane foo = new Airplane;
>>Airplane foo;       same as now
>>
>>This eliminates many cases of 'new' without breaking a single line of existing
>>code. I'm surprised nobody have suggested this yet. (Or if they have I have just
>>missed it :-)
> 
> 
> I like it :)
> 
> -- Matthias Becker

This looks excellent!!
1 2 3 4
Next ›   Last »