I love the way that you simplifies each topic by giving us some inner confidence to learn actual system design independently.
@soumyamishra6210
Жыл бұрын
maaza aagaya
@arnabmishra9638
Жыл бұрын
Very nice explanation, I have seen a lot of videos on singleton but never got to know it such depth.
@CodeWithSunchitDudeja
Жыл бұрын
Glad it was helpful!
@krateskim4169
Жыл бұрын
Awesome explanation
@CodeWithSunchitDudeja
Жыл бұрын
Glad you liked it
@sonalkumar223
10 ай бұрын
Really Enjoyed ❤ One more way if we are using java could be using an enum which guarantees that only one instance of the enum exists in the system at any given time Similar like following example public enum Logger { INSTANCE; public void log(String message) { System.out.println(message); } } public class LoggerExample { public static void main(String[] args) { Logger logger = Logger.INSTANCE; logger.log("This is a log message."); } }
@rohanwakode9568
Жыл бұрын
Thankyou sir its a great content
@CodeWithSunchitDudeja
Жыл бұрын
thanks Rohan
@abhishekkumarroy2815
Жыл бұрын
very nice explanation, its a great content😍😍
@CodeWithSunchitDudeja
Жыл бұрын
Thanks a lot 😊 Please share it in your community
@abhishekkumarroy2815
Жыл бұрын
Sure
@Adobe-xq6uo
Жыл бұрын
Thank You bhaiya!!
@CodeWithSunchitDudeja
Жыл бұрын
Thanks :)
@rameshsmcs074
Жыл бұрын
Thanks a lot perfect explanation sir. Cant wait to for the next pattern.
@CodeWithSunchitDudeja
Жыл бұрын
So nice of you, please promote it in your group
@harishgontu9285
Жыл бұрын
clear and concise . Rockstar
@CodeWithSunchitDudeja
Жыл бұрын
Thanks Harish
@SaurabhSingh-ch6nc
11 ай бұрын
OP Sir😍
@CodeWithSunchitDudeja
11 ай бұрын
Thanks Saurabh
@divyankmadan9491
Жыл бұрын
too good sir, loved it. The way you explain nobody can.
@CodeWithSunchitDudeja
Жыл бұрын
Thanks a ton
@varunpalsingh3822
Жыл бұрын
Sir is amazing 😍
@CodeWithSunchitDudeja
Жыл бұрын
Thanks a lot 😊
@Harjotse
Жыл бұрын
Sir pls a very small request pls daily do leetcode questions it was the time that when I became consistent because of your videos
@CodeWithSunchitDudeja
Жыл бұрын
As soon as possible, point noted.
@Harjotse
Жыл бұрын
@@CodeWithSunchitDudeja Thank you sir
@voidpointer398
Жыл бұрын
I have read an article on singleton and GoF singleton pattern in which it was told that implementing a singleton class using GoF design pattern way violates architectural guidelines as we can make a network call from presentation layer only, which is not very good. Can you talk about this please
@tanishqmahendrasaini3764
Жыл бұрын
Didn't understand the BillPugh design pattern completely how it overcome the scenario where multiple threads call at the same time
@CodeWithSunchitDudeja
Жыл бұрын
Can you tell me which part you got confused, Static inner class?
@tanishqmahendrasaini3764
Жыл бұрын
@@CodeWithSunchitDudeja Yes like how static inner class solves overcomes the scenario where multiple threads are trying to get the instance and each thread end up getting a new instance rather than each should have got the a single instance. Also I was thinking that static method could be a option similar to static inner class, I tried to find difference between these two static inner class and static method but didn't find anything relevant to the singleton example, one thing I assumed is that the reason for choosing static inner class is could be that its thread safe otherwise static method would be easily implemented and understandable. Please let me know if I made the wrong assumption.
@oyesaurabh
Жыл бұрын
I dont know JAVA, should I learn JAVA first before starting with this series ?
@CodeWithSunchitDudeja
Жыл бұрын
No, not mandatory, Basic of Java are very similar to C++. I have made it such a way that everyone will understand. However, there could be cases where things are java specific, I will highlight them from next time.
Пікірлер: 35