Remix.run Logo
ziml77 6 days ago

> My take? Use them as a serialization and interchange format, nothing more.

Isn't that exactly what they're intended for? I'm confused how anyone would even think to use them any other way.

tiew9Vii 5 days ago | parent | next [-]

Not specific to protobufs but a lot of people/projects especially if doing MVC, push the models in the API layer all the way down the stack and they become the domain, instead of having a loose coupling between the domain and serialization format. In the old days we used to have DTO's for separation but they went out of fashion.

blarus78 5 days ago | parent | prev | next [-]

Agreed, it's interesting to see so many people complaining when they are just misunderstanding / misusing protobufs entirely. Sure the implementation could be better but it's not a huge problem.

klodolph 6 days ago | parent | prev [-]

Like the author said, their usage in practice often creeps outside that.