Singleton: Difference between revisions
m
→{{header|Oforth}}
Line 1,153:
=={{header|Oforth}}==
Oforth does not have global variables, class attributes or some kind of shared mutable memory that can be updated
In Oforth, singleton is an anti-pattern because it needs synchronisation in order to be safe between tasks.
|