Comment by edg5000
3 days ago
Reflection really was the missing piece, it's one of the things that are so nice in Java. Being able to serialize/deserialize a struct to JSON fully dynamically saves a lot of code.
3 days ago
Reflection really was the missing piece, it's one of the things that are so nice in Java. Being able to serialize/deserialize a struct to JSON fully dynamically saves a lot of code.
Nb. This is fully static reflection, not runtime like in Java.
You can do static reflection in Java with compiler plugins.
These are the kind of features many folks skip over, as they are niche and require a bit of boilerplate.