static this sucks, we should deprecate it

BCS none at anon.com
Thu May 28 08:03:06 PDT 2009


Hello grauzone,

>> Probably a silly idea, but what about (or similar):
>> 
>> static this: mod.name, mod.name2, mod.name3
>> {
>> }
>> For a dependency list.  I may be wrong, but afaik the main problems
>> stem from either wrong order or co-dependence (which needs to be
>> solved by the programmer.)
>> 
> 
> Your proposal needs a way to specify "no dependencies". How about
> "static this : void { /+ code +/ }"?
> 

how about "static this(){}" or "static this{}"?





More information about the Digitalmars-d mailing list