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

How else would you propose to make meta-information about code available at run time? Before annotations we had to put that information in separate configuration files. That ended up being more complex, and harder to learn and understand.


I only know it in the context of Hibernate, and there are ORM frameworks in languages that don't have annotations.

The separate config files had something going for them, because it keeps the concerns distinct.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: