|
I think that this example would have been better without locals. Hopefully I can remember that next time.
I wrote it in my project at first, though, and I tend to use local by habit to avoid polluting the global namespace. Even there, it wasn't really necessary since I deleted immediately afterward.