If you dont know which ones, then find out? Else all you have is a mess, if you cant keep track of which variables you're using where. Of course it would be long, its just an alternative to the scoped variables you probably should be using. Globals arent so bad if you know exactly whats being used where and how, and make a note/comment about it somewhere. If you dont, well, throw the thing in the bitbuecket and start again :)