Orange - Free from D1/Tango

John Colvin john.loughran.colvin at gmail.com
Sun Feb 17 15:24:15 PST 2013


On Sunday, 17 February 2013 at 21:18:12 UTC, Walter Bright 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?

Surely not...

I shouldn't have to explicitly mark every type as 
allowed-to-be-serialised, it makes much more sense to opt-out.


More information about the Digitalmars-d mailing list