C++ traps that D2 doesn't avoid yet?

Janderson ask at me.com
Sun Nov 9 11:34:15 PST 2008


ore-sama wrote:
> Janderson Wrote:
> 
>> We seem to have a lot of super programmers who don't make simple 
>> mistakes ever and know C++ back to front.  That's Great!
> 
> Who knows C++? I know C, C# and javascript.

I see then this kinda makes sense from where your coming from.  C# has a 
load of restrictions that help detect possible gotchas that you don't 
get with C++.  They could be removed to allow for more "expressive" code 
but then you'd have C++.  For example, trying to change the size of an 
array your iterating over will flag an error in C#.

> 
>> For myself, after programming in C++ for 7 years (and other languages 
>> before that) I still find myself making coding typo's and discovering 
>> new things about C++.  Keeping an open mind is key to getting better.
> 
> Yeah, C++ is a continuous discovery, may be because of this C++ pros can't get used to if statement syntax? I thought, fingers know syntax, not brain... well, it's C++ after all :3



More information about the Digitalmars-d mailing list