Never automatically derive (de)serialization formats - make it explicit. Better yet, use an IDL (and potentially codegen off that)https://twitter.com/shumovichy/status/1062309831288279041 …
how do you feel about say, circe auto/semiauto derivation, for json codecs? it's so convenient!
-
-
If it's being used to advertise a protocol to clients, then
. If you're a client/doing your own internal thing, then
at your own risk. The primary concern is innocent refactoring of a data type (e.g. changing field name) opaquely changing the protocol, screwing clients over -
ah yeah, I can see how the implicit linkage between your data types and protocols can burn you if you change one thing without thinking about the other
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.