logoalt Hacker News

jstimpfletoday at 10:35 AM1 replyview on HN

Reflection is a joke. De/serializing arbitrary C++ structs is ill-defined. When you need serialization, even lots of it (e.g. silly JSON), I think you're better off writing your own framework where you can be clear about data formats and transformation rules.


Replies

bluGilltoday at 11:16 AM

Reflection is likely useful for a lot of things, but I agree serialization need a better framework.