HACKER Q&A
📣 Konohamaru

How do other languages besides Java do framework integration?


We're using the Spring Boot framework, and it uses a lot of @Annotations to do a lot of stuff automatically. This almost reminds me of C macros. What better ways do other languages use to do automatic framework stuff?


  👤 ironmagma Accepted Answer ✓
I’ve used DI before but never fully studied how Spring uses it. I assume you’re referring to the automatic instantiation of an object based on session, request, etc. What do you feel you get out of it, that would be significantly different from just constructing the objects manually in a lifecycle method? (Just trying to better understand the question)