1084
The temptation is always there
(lemmy.world)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Just create a global object and stuff your variable in there. Now you have a global singleton and that's not a purely bad practice :D
Just call it "state management" and nobody will even care.