Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: