DEV Community

Discussion on: Are global variables bad?

Collapse
 
moopet profile image
Ben Sinclair

I'd say "global" simply means "not namespaced or otherwise explicitly scoped".

When you look at it like that, they're untethered, untrustworthy and unnecessary.