Open in app
Maximiliano Contieri
415 Followers
About

Sign in

415 Followers
About
Open in app

…s, it needs to be used with care because it can lead to many system issues like memory leaks. Also, due to many drawbacks, it is often recommended to not use the Singleton pattern because it can become an anti-pattern.

C# Design Patterns — Singleton
209
2

Andre Lopes

Maximiliano Contieri

Maximiliano Contieri

Aug 10, 2020·1 min read

Nice article !

This is the point. We should use dependency injection https://codeburst.io/singleton-the-root-of-all-evil-8e59ca966243

Written by

Maximiliano Contieri

I’m senior software engineer specialized in declarative designs. S.O.L.I.D. and agile methodologies fan.

More from Maximiliano Contieri

I’m senior software engineer specialized in declarative designs. S.O.L.I.D. and agile methodologies fan.

More From Medium

How to Squeeze Test Driven Development on Legacy Systems

Maximiliano Contieri in Dev Genius

Creating a Chat client with AppSync (and adding Bots!)

Maximiliano Contieri in Chatbots Magazine

Singleton: The Root of all Evil

Maximiliano Contieri in codeburst

Programming as Theory Building

Maximiliano Contieri in Dev Genius

How to Decouple a Legacy System

Maximiliano Contieri in Dev Genius

Software Engineering Great Quotes

Maximiliano Contieri in Dev Genius

Laziness II: Code Wizards

Maximiliano Contieri in codeburst

Laziness I: Meta-programming

Maximiliano Contieri in codeburst

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store