std.serialization: pre-voting review / discussion

Daniel Murphy yebblies at nospamgmail.com
Tue Aug 20 06:43:55 PDT 2013


"Dicebot" <public at dicebot.lv> wrote in message 
news:luhuyerzmkebcltxhgjj at forum.dlang.org...
>
> What I really don't like is excessive amount of object in the API. For 
> example, I have found no reason why I need to create serializer object to 
> simply dump a struct state. It is both boilerplate and runtime overhead I 
> can't justify. Only state serializer has is archiver - and it is simply 
> collection of methods on its own. I prefer to be able to do something like 
> `auto data = serialize!XmlArchiver(value);`
>

I think this is very important.  Simple uses should be as simple as 
possible. 




More information about the Digitalmars-d mailing list