GC for noobs

Szymon Gatner noemail at gmail.com
Fri Feb 28 04:15:20 PST 2014


On Friday, 28 February 2014 at 11:54:52 UTC, Mike Parker wrote:
> On 2/28/2014 8:43 PM, Dicebot wrote:
>
>>
>> Most problems I have with D data structures come from 
>> qualifiers, not
>> from resource management. I really don't understand why this 
>> looks that
>> much of a problem. That said, my background very influenced by 
>> plain C
>> and that results in different habits and expectations.
>
> I have a strong C background as well and have never had any 
> complaints about resource management in D. Every complaint I've 
> seen has come from people trying to do C++-like RAII. And, 
> though I don't understand it either, it does seem to be a big 
> issue for them.

It really is, RAII is the most important idiom in C++, in short 
no RAII == buggy code. I mean proper C++ not 
C-with-classes-no-templates-no-exceptions bs.

So to sum up: C folks are not really happy, C++ folks are not 
really happy and C# folks are not really happy :P


More information about the Digitalmars-d-learn mailing list