Global Instance

Back to Singleton

A single object instance accessible from anywhere in the application. While convenient, global instances create hidden dependencies and make testing difficult because they introduce shared mutable state.

property singleton global-instance