Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
brodo
· 8mo ago · 0 comments
Singletons are global variables in a suit. Don‘t use them.
Comments
[–]
bluGill
8mo ago
Globals are very useful in a lot of places - but they have significant downsides. Aviod them but when they are the best answer just rquire approval of that design from a lot of smart people - to make sure you are not uverlooking something.