2 ms·
COMEFROM is basically dependency injection. :) I'm only sort of joking. Think about it: When you inject a dependency (say Java spring @Autowired), then you ar
by ars 7y ago
COMEFROM is basically dependency injection. :)
I'm only sort of joking.
Think about it: When you inject a dependency (say Java spring @Autowired), then you are asking spring to run all sort of code, at the point where it injects your variable with autowired.
Spring needs to instantiate your requested object, and everything that it depends on - it might be a lot of code.