auto init & what the code means

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Dec 26 15:50:58 PST 2010


On 12/27/10, Daniel Gibson <metalcaedes at gmail.com> wrote:
> I really like how D does this: Make the safe thing default and the
> unsafe thing possible via more typing.

Compare this to Go, where the safe thing is the only way of doing
things and the unsafe thing is impossible*.

Unsafe can be useful, and D allows it. But it makes unsafe behavior
explicit, which means you can still reason about your programs. It's a
practical solution, I love it.

*I admit that is just my superficial conclusion from all that I've
read about Go.


More information about the Digitalmars-d mailing list