Tag: singleton

Found 112 results for 'singleton'.

1) python - Creating a singleton in Python
2) python - Is there a simple, elegant way to define singletons?
3) design-patterns - Difference between static class and singleton pattern?
4) python - How make a singleton using Python?
5) python - issue with singleton python call two times __init__
6) python - Why is this singleton implementation "not thread safe"?
7) c++ - C++ Singleton design pattern
8) design-patterns - Singleton in go
9) python - Is there a simple, elegant way to define singletons?
10) python - How to create module-wide variables in Python?
11) python - Why is the Borg pattern better than the Singleton pattern in Python
12) java - Singleton v/s class with static members & methods in Java
13) swift - Using a dispatch_once singleton model in Swift
14) java - Singleton class vs static methods and fields?
15) java - Is a static class a singleton?
16) singleton - Singleton class vs. class with static member
17) java - Should a Java singleton use static variables?
18) python-3.x - Why is the insantiation of this singleton class giving different values
19) python - Python class inherited singleton inits instance on every call
20) c++ - efficient thread-safe singleton in C++
21) c++ - How is Meyers' implementation of a Singleton actually a Singleton
22) java - Is this method of create Singleton thread safe?
23) c++ - Thread Safe Singleton Class - Am I doing this Right?
24) python - Whether the method below is thread-safe when implementing Singleton pattern in python?
25) c# - How to avoid a crazy amount of interfaces in UI with dependency injection?
26) c# - Is it right way to make Window to Singleton and call Visibility and Shutdown() methods directly in WPF?
27) design-patterns - Is this the solution to static inheritance?
28) design-patterns - DAO/Webservice Consumption in Web Application
29) java - Static factory vs factory as a singleton
30) c++ - Thread safe lazy construction of a singleton in C++
31) design-patterns - Is singleton use acceptable for static single responsibility?
32) c++ - What are the roles of singletons, abstract classes and interfaces?
33) design-patterns - What's wrong with using a Singleton?
34) ios - How to Create Singleton Object in swift
35) c++ - Difference between Singleton pattern and auto_ptr<> resp. unique_ptr<>
36) c++ - Overhead of using big singleton with all files includes
37) java - Thread Safe singleton class
38) java - MVC design, singleton in model with initialization
39) swift - Using a dispatch_once singleton model in Swift
40) dart - How do you build a Singleton in Dart?
41) c++ - C++ Are there any good alternatives to global declaration of this class and singleton?
42) java - Singleton for Java Functional Interface
43) c++ - Thread safe lazy construction of a singleton in C++
44) design-patterns - React Native - Is using a singleton the best alternative to DI?
45) design-patterns - Name for Osherove's modified singleton pattern?
46) java - Why is a singleton class hard to test?
47) object-oriented - How should I provide access to "global" objects down to other objects which are contained in a central "application" object
48) c++ - C++ Singleton class getInstance (as java)
49) swift - Singleton class variable in swift?
50) design - Efficient Code Design for Pattern Search Using a Singleton Pattern