Type unions in D
Danny Wilson
bluezenix at gmail.com
Thu Sep 17 14:08:43 PDT 2009
Op Thu, 17 Sep 2009 16:56:41 +0200 schreef Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org>:
> I have big plans with Variant - I want to make it (or a related type)
> the variable type common in dynamic languages, with flexibility, dynamic
> invocation using common syntax, the works. So if you write a short
> script and want dynamic typing, you should be able to use Variant
> throughout.
Including some sort of object literal syntax?
You know, like javascript
var obj = {i_am:"Dynamic", ...};
More information about the Digitalmars-d
mailing list