The Singleton Pattern This is one of the most common and useful JavaScript patterns. Basically, it is used to group code in a logical unit that can be accessed through only one access point, one variable. We could make use of this technique when we ...

Markdown supported · ⌘↵ to post
Maxi Contieri
Software Engineer
Nice article!
I think coupling is just the tip of the iceberg all the problem that brings this antipattern.
But i might be wrong