Discussion about this post

User's avatar
Alejandro Piad Morffis's avatar

Super as usual! I know your intention is not to go deep into the singleton pattern, but just in case someone wants to dig further, Iwanted to point out that one of the many challenges in making singletons work is to make them thread-safe, which is not something you usually worry about when writing constructors and initializers. It's a fun exercise!

Expand full comment
1 more comment...

No posts