Abstract
When discussing which patterns to drop, we found that we still love them all. (Not really – I’m in favor of dropping Singleton. Its use is almost always a design smell.)
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Change history
30 April 2021
The original version of the chapters 5, 6 & 8 was inadvertently published with the introductory text placed at the end of incorrect chapters. The chapters affected are:
Notes
- 1.
Note that, similar to C#, F#’s default implementation also uses lazy. The only difference is that F# has a somewhat more concise syntax: writing lazy(x + y()) automatically constructs a Lazy<’T> behind the scenes.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Dmitri Nesteruk
About this chapter
Cite this chapter
Nesteruk, D. (2020). Singleton. In: Design Patterns in .NET Core 3. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6180-4_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6180-4_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-6179-8
Online ISBN: 978-1-4842-6180-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)