[:] as empty associative array literal, plus warning for null

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Jul 4 16:25:38 PDT 2013


On 7/4/13 11:38 AM, bearophile wrote:
> Andrei Alexandrescu:
>
>> I also happen to think we don't quite need [].
>
> It's the opposite, we don't need null to represent empty dynamic arrays.
>
> Hopefully Rust designers will avoid such point of views, they generally
> prefer a less sloppy design and a stronger typing.

Where does the whole "stronger typing" comes in? This is poppycock. We 
need real arguments here.

Andrei




More information about the Digitalmars-d mailing list