Jorge Saudgiorgiosaud.hashnode.dev·Nov 14, 2023Singleton Pattern in frontendin this blog post, I will try to explain the pattern in a simplified way the Singleton Design Pattern, its main purpose is to reconstruct the instantiation of a class to a singular instance, I need to clarify that the use case is very difficult to fi...DiscussFrontend Development
Anushayosa.hashnode.dev·Sep 6, 2023Simple Singleton Design Pattern in C++In this blog, I attempted to create a simple program implementing a singleton design pattern. In a Singleton Design Pattern, only one instance for a class exists. This is achieved by Private constructor Private static object declared in the class ...DiscussC++ BasicsC++
Srikanth Anantharamblog.srikanth.one·Aug 31, 2023Converting any class into a Singleton class in C++Singleton is one of the creational design patterns. A singleton class has only one instance and provides a global point of access to that instance. It's commonly used when you want to restrict the instantiation of a class to a single object, which ca...Discuss·2 likes·280 readsC++
Akash Deep Chitranshcodechitra.hashnode.dev·Aug 27, 2023Singleton Design PatternThe singleton pattern is a simple design trick. Imagine you have a special class, and you only want one copy of it. For example, think about having just one toolbox that lots of workers share, instead of giving each worker their own toolbox. This is ...DiscussSingleton Design Pattern
Luis Manuel Vespa Peraltaluisvespa.hashnode.dev·Aug 20, 2023Exploring the Singleton Pattern in Kotlin for Efficient Android DevelopmentIn software design, design patterns play a crucial role in creating efficient, maintainable, and scalable applications. One such pattern that finds extensive use in Kotlin-based Android development is the Singleton Pattern. In this article, we will d...DiscussKotlin
Abou Zuhayrblog.zuhayr.codes·Aug 17, 2023Scoping & Singletons: DI (Day - 09)Dependency injection is a powerful technique that allows for better modularity and testing in applications. Dagger2, a popular dependency injection framework, provides various scopes to manage the lifecycle of objects. One of the most commonly used s...DiscussDependency Injection in Androidandroid app development
Favour Georgepsycode.hashnode.dev·Aug 7, 2023Singleton Design Pattern: Mastering the Art of Single Instance ClassesWhat are Design Patterns? A design pattern is a reusable solution to a general obstacle faced by developers while designing and building software. They are models or blueprints for solving recurring problems in software development Why are Design Pat...DiscussSingleton Design Pattern
Kralhexkralhex.hashnode.dev·Jul 29, 2023Scalable Solutions Made Simple: Design PatternsIntroduction Design patterns are like timeless recipes in the world of Object-Oriented Programming (OOP). Just as a chef relies on culinary techniques to create mouthwatering dishes, developers use design patterns to craft elegant, maintainable, and ...Discussdesign patterns
Tamal Anwar Chowdhurytamalchowdhury.com·Jun 18, 2023What is a Singleton Pattern in JavaScript?A singleton lets you create only one instance of a class that you will use globally throughout your application. With the help of an external variable, instance you will store the instance in it for checking. This will prevent anyone from creating a...Discuss·120 readsJavaScript
Ismail Harikismailharik.hashnode.dev·Jun 17, 2023Singleton Design PatternsIn the realm of software design patterns, the Singleton pattern holds a prominent place among the creational design patterns. Creational patterns focus on object creation mechanisms, providing solutions for creating objects in a controlled and effici...Discuss·31 readsSingleton Design Pattern