In the video here http://code.google.com/p/google-guice/
This explains what it should be.
And here OscarRyz says the opposite. How to explain dependency injection to a 5-year-old?
So now I'm confused.
I personally prefer to use the fact that designers can, of course, define all required fields, and those fields that cannot be changed after installation. You can do the same with setters, but there is no direct language support for this.
, - .
. . " " :
http://www.martinfowler.com/articles/injection.html
Source: https://habr.com/ru/post/1785712/More articles:XElement NullReferenceException - nullreferenceexceptionthe right way to turn an EAR module into an OSGI package - javaHow to get runtime class mapping information in Nhibernate? - c #Filters, IE, bodywork and fonts - cssShow #id - hide #id when hovering over another #id - jqueryjQuery Sparklines: automatic zero-centering for histograms - jquerysimple rollback process - javaHow to extract data from a list F # - f #how to programmatically press a button at application launch using C # code - c #UNIX ptrace () blocks child system calls - linuxAll Articles