Best practices of using const

Kagamin spam at here.lot
Wed Feb 20 08:05:29 UTC 2019


On Tuesday, 19 February 2019 at 16:38:17 UTC, drug wrote:
> The same I can say about properties - for example I use them in 
> meta programming to detect what to serialize/process - I skip 
> methods but serialize properties and for me this is a nice 
> language feature.

Serialization of arbitrary stuff is a bad practice anyway, it was 
the cause of vulnerabilities in serialization libraries. DTO is 
the way to go.


More information about the Digitalmars-d-learn mailing list