• Why localize a function?
    4 replies, posted
I've always used functions without localizing it, what's the point?
If you don't, and another addon creates a function with the same name, it gets overwritten.
Ok, that makes sense.
And sometimes you want the function to be inaccessible from other files.
If your function is in a table it doesn't matter too much, but global functions should generally be avoided.
Sorry, you need to Log In to post a reply to this thread.