Are there any negative side effects to setting hooks this way?
#12
The plugin unloading / reloading shouldn't be affected by this, it's just a style of coding; unloading and reloading work on the entire Lua states, so anything in them gets destroyed and re-created.

As for the style itself, it brings one more level of indent into the whole functions, and most IDEs aren't too helpful when using functions inside tables, as opposed to regular functions. So I'd advise against it.
Reply
Thanks given by:


Messages In This Thread
RE: Are there any negative side effects to setting hooks this way? - by xoft - 01-09-2018, 04:40 PM



Users browsing this thread: 1 Guest(s)