Singleton pattern - design patterns (ep 7)

preview_player
Показать описание
In this video, we discuss the singleton design pattern along with its potential applications.
Рекомендации по теме
Комментарии
Автор

i watched multiple video for that, . but atlast understand signleton design pattern watching your lecture, tnx a lot bro.

AhsanHabib-vtdq
Автор

This is the best explanation of the singleton design pattern, that I have ever come across. Thank you

hillaryudechukwu
Автор

My first expression was that you will not be able to explain well. But the way you explained it was incredible. I appreciate and Keep up the good work.

bestofbest
Автор

great explanation please continue making this kind of tutorials

sallaklamhayyen
Автор

Well explained. This video deserves more views :)

shantkumarbiradar
Автор

Im the new subscriber ur explanation nice

pygnkqv
Автор

Good job. There are different ways to create an object like reflection, serialization etc.. Object created on class load is eager and not lazy. I am sure it was a mistake while explaining.

LALearns
Автор

Exceptionally well-explained.  Thank you.  One thing though ... isn't the version with '= new Singleton()' added the Eager one rather than the Lazy one?   Anyway, your explanation of the how's and why's of using Singleton is really good.

phillipgaley
Автор

good and again on PHP for final project

teshomaendalu
Автор

nice explanation but creating static instance with "new SIngleton()" should be eager .

saptam
Автор

If the singleton instance is private...then how to access it from outside ?

asmitapatil
Автор

What bad things when we create multiple instance?

anggitprayogo
Автор

Nice explanation, but you had explained Eager example with Lazy initialization and vice-versa. Please correct it in your video.

pravinbhakare
Автор

Well explained bt one mistake, u stated there its lazy tech rather than eager tech.

saktiranjanbehera
Автор

sir my lecture is never tech any pattern.i don't know it.that' s fault."solid" is these vedios are in c++ oops?

sanjeewanilakmali
Автор

super explanation but explaind with structure also

somireddykiranmai
Автор

where is sealed keyword .. ? Can you please call this method to get more details

swapnilchaudhari
Автор

Why don't you use Enum for creating Singleton pattern?

sandeepjhalani
Автор

can you give a real life example for an e-commerce web site ??

kuldeepsahoo
Автор

Sir, In your explanation you created eager and called lazy, and this is not called complete singleton class apart from this there are 5 more ways in which the object can be created. like volatile, serialization, clone, reflection, double checking.

ravindra