static initialization of structs

Dan dbdavidson at yahoo.com
Sat Dec 1 10:36:34 PST 2012


In the thread on compiling DSSS and build tools someone mentioned 
a format for initializing environment data of a struct:

   Environment env = {
        tests: true,
        verbose: true,
        importDirs: ["../deimos"]
   }

A followup comment says "isn't that syntax intended to be 
deprecated?"

Is this accurate - that the nice json-esque syntax for 
initializing structs will be deprecated? If so, can someone give 
color on why/when?

Also, for this and other issues regarding features going away, is 
there a central place where these items are being tracked? How 
can we know what is on the chopping block?

Thanks
Dan


More information about the Digitalmars-d-learn mailing list