Uncle told me I had too many global variables, so I got my new app's global variable count down to just one! Was so easy. HashMaps are the best!
3
75
294
0
2
@thedirtycoder @mkheck You should turn it into a singleton to have zero global variables! ;-)
@thedirtycoder @evanchooly Why create a map when you can use one of the JDKs. All kinds of fun places to stuff random junk; provider registries, system properties, you can even borrow a field using Unsafe