I've been looking at source code for some existing addons, and I noticed something that doesn't make sense to me.
Why do they do this for all their functions?
Code:
local _G = _G
local abs = abs
local assert = assert
local collectgarbage = collectgarbage
local date = date