News for hackers. Stuff that matters.
Re:When Not to Serialize by TeMPOraL on Saturday August 11, 2018 @01:36AM (#17738533)
> What I've come to prefer is for serialization to be implemented a the boundaries of your service, with your models at least somewhat isolated from any given serialization technique. Protobuf is a foot-gun here because it blends these roles in a way that's hard to get away from.

This is exactly what I think about using ORMs, too, and keep repeating it. Using ORM-generated model classes as your models is a semi-automatic footgun with a hair trigger.

There are no comments on this comment yet.