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

deadalnix deadalnix at gmail.com
Wed Jul 3 08:45:51 PDT 2013


On Wednesday, 3 July 2013 at 14:33:02 UTC, bearophile wrote:
> Time ago I have opened an enhancement request for empty 
> associative array literals:
>

Why not simply [] ? After all, an array is just a very simple 
type of hashmap, with the identity as hash function.


More information about the Digitalmars-d mailing list