Re:Elm in Production: 25K Lines Later
by danidiaz on Monday July 31, 2017 @03:35AM
(#14890132)
One could use a generics library to emulate something like Go's struct field tags, which decouple "external" fields names from the actual field names. Something like this is explained from 48:50 in this talk: https://skillsmatter.com/skillscasts/10181-fun-with-sum-and-...
But perhaps it wouldn't save much code compared to custom-made parsers.
But perhaps it wouldn't save much code compared to custom-made parsers.