4 ms·
I don't think there's anything precluding Go from making it possible, other than the maintainers' desire to not have macros. Rust gives you the power here, and
by bpicolo 8y ago
I don't think there's anything precluding Go from making it possible, other than the maintainers' desire to not have macros. Rust gives you the power here, and as a result has some tremendous serialization libs:
https://github.com/serde-rs/serde https://github.com/serde-rs/serde
Macros don't need to be as simple to use as in lisps to be useful - the rare library like serialization that can really benefit from them can be worth the language feature
- tptacek 8y agoRust is a good counterexample, yep.