Struct with default ctor (Was: [dmd-beta] dmd 2.064 beta take 2)

Walter Bright newshound2 at digitalmars.com
Sun May 19 13:09:53 PDT 2013


On 5/19/2013 12:36 PM, deadalnix wrote:
> I C or C++ you are doomed to manage reference as you need to for memory
> management purpose. In garbage collected languages, you ends up with way more
> unmanaged references, because the GC take care of them. Doing so you multiply
> the surface area where null bug can strike.

I still don't see the connection.

I've had many more null pointer bugs in non-gc code than in gc code, but I 
attribute that to my being a better programmer in gc code because I did that 
later and was more aware of issues.


More information about the Digitalmars-d mailing list