2015:killing_the_singleton_pattern_in_c

Back to 2015-proposals

Title: Killing the singleton pattern in C++
Proposer: Jose Daniel Garcia Sanchez
Type: Tutorial
Duration: 90 mins
Description:
Singleton is one of the most controversial pattern from GoF book. Since its original publication it has lead to many advices of how to properly use it and solving different problems. In this talk I will review these problems and solutions. In particular, I will review how this scenario changes with C++ 11/14. I will advocate that Singleton should never be used in general and particularly it is big design mistake to use it in C++. If needed, better solutions do exist. I will review use cases that typically make use of Singletons and compare those designs with alternate solutions that do not make use of that desing pattern.



2015/killing_the_singleton_pattern_in_c.txt · Last modified: 2016/06/11 14:05 by 127.0.0.1