News for hackers. Stuff that matters.
Re:Singleton Is a Bad Idea by brtkdotse on Sunday April 10, 2022 @02:41PM (#30980278)
Came here to write this. In .NET it’s easier to just follow the normal DI pattern and inject your desired singleton with AddSingleton<>

There are no comments on this comment yet.