Timeline for How to avoid a crazy amount of interfaces in UI with dependency injection?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S May 4, 2017 at 14:43 | history | suggested | CommunityBot | CC BY-SA 3.0 |
Mark Seemann in fact advocates for Constructor Dependency Injection as being the 90% of all cases, not Method Dependency Injection. One online source: http://stackoverflow.com/a/4367410/1502818
|
| May 3, 2017 at 20:46 | review | Suggested edits | |||
| S May 4, 2017 at 14:43 | |||||
| Apr 12, 2017 at 7:31 | history | edited | CommunityBot |
replaced http://programmers.stackexchange.com/ with https://softwareengineering.stackexchange.com/
|
|
| Sep 20, 2016 at 14:16 | history | edited | radarbob | CC BY-SA 3.0 |
fix link to SO thread.
|
| May 4, 2016 at 14:36 | comment | added | radarbob | All I'm saying is, "it depends." Too often I see maxims taken quite literally. | |
| May 4, 2016 at 9:56 | vote | accept | R. Schmitz | ||
| May 4, 2016 at 9:56 | comment | added | R. Schmitz | Just one point, and I'm not trying to be a help vampire here, but it was kind of part of the original question: The general consensus (and it is based on valid reasons) seems to be that you are indeed not supposed to use a singleton. You write "'I'm not supposed to use a singleton' is wrong" - in which situation would it be appropriate to use one then? | |
| May 4, 2016 at 9:48 | comment | added | R. Schmitz | I tried getting rid of all singletons I used and some of the things you said happened more or less automatically. The rest makes a lot of sense, too and I'm gonna take your advice and read up on the visitor pattern etc. All in all a well written answer, thank you! | |
| May 2, 2016 at 17:48 | history | answered | radarbob | CC BY-SA 3.0 |