On Sunday, 17 February 2013 at 21:52:53 UTC, Adam Wilson wrote:
On Sun, 17 Feb 2013 13:18:05 -0800, Walter Bright
<[email protected]> 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?
Every serialization library i've used is opt-out.
That doesn't mean it is the way.
I have to say I don't know if it is better to opt in or out,
simply that most serialization framewrok I have used as of now
weren't that great, and I'm sure we can do better with both
compile time reflection and annotations.