© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Emil Moe
Senior Data Engineer
You can also look at the Singleton pattern, that gives the option for global functionality without breaking OOP
But the reference as the others mention is the right answer to your specific question
j
stuff ;)
singelton ? teaching antipatterns already ? ;D
They are not anti pattern
James Kibirige
Software Developer
overuse of singleton is considered an antipattern...