MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wqu6oa/singletonsarejustglobals/pcby76x/
r/ProgrammerHumor • u/somet_hingrandom • Sep 26 '26 • 1
210 comments sorted by
View all comments
Show parent comment
8
Depending on the scope, an injected entity is still a singleton... so i dont get what you are trying to say.
2 u/No-Con-2790 Sep 27 '26 And if it is not a Singleton but allowed to be two objects you get into hot water when they fight about the one shared resource which is the console output. Or printer when you think historically.
2
And if it is not a Singleton but allowed to be two objects you get into hot water when they fight about the one shared resource which is the console output. Or printer when you think historically.
View all comments
Show parent comment
8
u/LutimoDancer3459 Sep 27 '26
Depending on the scope, an injected entity is still a singleton... so i dont get what you are trying to say.