Orange - Free from D1/Tango

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Sun Feb 17 16:58:06 PST 2013


On Sun, 17 Feb 2013 13:18:05 -0800
Walter Bright <newshound2 at digitalmars.com> wrote:

> On 2/17/2013 12:51 PM, Jacob Carlborg wrote:
> > I just stripped out all D1 and Tango related code from Orange.
> > D1/Tango is still supported in the d1 branch. Hopefully this will
> > make it easier to integrate into Phobos.
> >
> > It also now supports UDA's for indicating a field/class/struct
> > shouldn't be serialized:
> >
> > class Foo
> > {
> >      @nonSerialized int a;
> > }
> >
> > @nonSerialized class Bar { }
> 
> Hmm, shouldn't it be the other way around - marking the ones to be
> serialized?
> 

You're already opting-in to serialization anyway when you say
"serialize object foobar". @serializable would just be redundant.



More information about the Digitalmars-d mailing list