Manuel Meyer
Sep 15, 2022

Disagree: Singletons are always bad. period. they mess up things in subtle ways. if you need just one instance, just create one — and pass it where needed, as we know that in OO we have to pass in all dependencies, or we start lying to the compiler, by hiding dependencies from it.

Manuel Meyer
Manuel Meyer

Written by Manuel Meyer

Freelance Software Developer and Code Strategist.

Responses (1)