.Net does the same thing with heap/value objects.

"Walter Bright" <[email protected]> wrote in message 
news:[email protected]...
> so wrote:
>> He starts with "and things they made worse than C++ (such as struct/class 
>> asymmetry, the first is stack-based, the second GCed heap)".
>> Having 2 different keywords for "exact" same purposes (1 difference and 
>> it doesn't worth mentioning) in a language is good and opposite is bad, 
>> with this kind of BS start i am not sure he got something to say.
>
> I think the struct/class distinction has worked out very well in D. It's 
> one of the things we nailed. Often, people with a strong C++ background 
> don't initially see it that way, it takes a bit of explaining. 


Reply via email to