kapil Gargkapilg.hashnode.dev·Apr 19, 2024Singleton class in PythonSingleton : There is only a single instance of the given class. There are multiple ways to create Singleton class in python. Most of these deals with overriding Dunder methods. Overriding __new__ When you are writing a python class, __new__ methods c...DiscussPython
Sandeep Choudharysandeepc.hashnode.dev·Apr 19, 2024Design Patterns - A Quick GuideDesign Patterns are reusable solutions to common problems that arise during software design and development. They provide a structured approach to solving specific challenges, making code more maintainable, flexible, and efficient. Here are some key ...DiscussDesign Paradigms Unveiled - Navigating Software Architecturedesign patterns
Shreeyash SJshree8.hashnode.dev·Apr 9, 2024Exploring the Singleton Pattern: Leveraging a Powerful Design Principle in ReactAs one of the fundamental design patterns in software engineering, the Singleton pattern offers a powerful solution for managing resources and ensuring that only one instance of a class exists in a system. While many developers are familiar with its ...Discuss·4 likesSingleton Design Pattern
Elijah Browndevsdaddy.hashnode.dev·Mar 22, 2024Everything you need to know about Singleton in C#Hey, everybody. If you are a C# developer or have programmed in any other language before, you must have heard about such a pattern as a Singleton. Singleton is a generating pattern that ensures that only one object is created for a certain class and...Discuss·12 likes·443 readsText Tutorialsunity
manish maharjanforJoBins Engineeringblog.jobins.jp·Feb 25, 2024Understanding Singleton PatternWhat is singleton? Singleton is the type of creational design pattern used to contribute for the best practices in software development. The main purpose of this pattern is to share single point of access, anywhere within the application , ensuring t...Discuss·1 likelaravel singleton
Kartik Mehtawriter.mrmehta.in·Feb 21, 2024Implementing Singleton Pattern for Database Initialisation with MongooseIn software engineering, design patterns serve as templates for solving common problems. The Singleton pattern is one such design pattern, particularly useful in database connections. This article delves into the Singleton pattern's application in in...Discuss·2 likes·43 readsdesign patterns
Chetan Dattachetan77.hashnode.dev·Feb 20, 2024Singleton Design PatternIntroduction This pattern is used when we have to create only 1 instance of the class There are 4 ways to achieve this Eager Lazy Synchronized Method Double locking 4 Ways of Singleton Pattern I Eager Initialization In this approach, we confine...DiscussLow Level Designlow level design
Tejas Shahatejasshaha.hashnode.dev·Jan 19, 2024Unveiling the Singleton Design Pattern: A Blueprint for Efficient Object CreationIntroduction: In the vast realm of software development, designing applications that are not only functional but also efficient is paramount. One design pattern that plays a crucial role in achieving this balance is the Singleton Design Pattern. In t...Discuss·28 readscoding
Hyunwoo Choihyunwoochoi.hashnode.dev·Jan 10, 2024C++ - Singleton Pattern in Firmware DevelopmentWhen you write the code that will run on the hardware target, C language has been chosen more frequent than C++. However, recently, hardware's capability has been evolved to deal with more complex system. The C++ is better option in this situation wh...DiscussSingleton Design Pattern
Venu Madhav Emmadivenumadhavemmadi.hashnode.dev·Jan 1, 20241.1 Singleton Method - Creational Pattern: A Comprehensive GuideThere are hardly many software design patterns as popular or contentious as the Singleton pattern. This creational pattern offers a global point of access to a class's single instance while guaranteeing the class has just one instance. The Singleton ...Discuss·2 likesDesign Patterns in Software Engineeringdesign patterns