Serialization library candidate review request

bauss jacobbauss at gmail.com
Mon Aug 28 18:06:13 UTC 2023


On Monday, 28 August 2023 at 07:59:17 UTC, GrimMaple wrote:
> On Monday, 28 August 2023 at 01:01:57 UTC, monkyyy wrote:
>> I dont understand why your adding a uda rather then assuming 
>> all values are serializable.
>
> Because on practice, you might want to leave some of the stuff 
> unserialized. It's generally better (IMO) to specifically mark 
> serializable fields. It also allows serializaing / 
> deserializing properties and getters / setters.
>

I disagree. It's better to make fields serializable by default 
and have an attribute to ignore serialization.



More information about the Digitalmars-d mailing list