In the link I’ve provided, there was a very good reason to avoid Singleton. You can do it if you want to.
Just remember that documentation is written by humans and they may have their established ways of doing things and personal preferences
In the link I’ve provided, there was a very good reason to avoid Singleton. You can do it if you want to.
Just remember that documentation is written by humans and they may have their established ways of doing things and personal preferences