View Single Post
09-20-16, 03:23 AM   #16
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Lombra View Post
Disagree. It just clutters the code needlessly. I only do it when I expect extremely frequent use, such as iterating a large database, handling combat log events, or maybe unthrottled OnUpdates.

But sure, if that doesn't bother you there's no downside to doing it. Well, except getting any potentially hooked functions, but that's most likely irrelevant.
Except if you don't do it and you use a find global tool it will print thousand lines of string, math, and etc functions makes it harder to actually catch a typo/global/whatever you looking for.
  Reply With Quote