Open in app
Maximiliano Contieri
415 Followers
About

Sign in

415 Followers
About
Open in app

• Saves Memory: It is obvious that when we create object of any class, it occupies space in memory, so creating many objects means more space is occupied in memory. Singleton class may have only one object, so it saves memory.

What is Singleton pattern and what is the advantage of it.
257
2

Verdiyev Mahammad

Maximiliano Contieri

Maximiliano Contieri

·Oct 26, 2020

This is not true on today's Virtual Machines

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

What exactly is a name? — Part I: The Quest

Maximiliano Contieri in Dev Genius

Laziness I: Meta-programming

Maximiliano Contieri in codeburst

Software Engineering Great Quotes

Maximiliano Contieri in Dev Genius

Programming as Theory Building

Maximiliano Contieri in Dev Genius

Nude Models — Part I : Setters

Maximiliano Contieri in Dev Genius

Singleton: The Root of all Evil

Maximiliano Contieri in codeburst

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

Maximiliano Contieri in Chatbots Magazine

How to Decouple a Legacy System

Maximiliano Contieri in Dev Genius

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