Massimo Caliman
by Massimo Caliman
~1 min read

Categories

  • Programming

The Singleton is probably the simplest pattern, some languages like Scala provide a keyword (object instead of class) to create them directly without defining a class according to the pattern directives. You can find an example project on GitHub at this address:

https://github.com/mcaliman/JavaPatternsCollection