→Conclusion: un-h1
(→Conclusion: un-h1) |
|||
| Line 205: | Line 205: | ||
This can allow authors to write much more compact code which performs the same operation, though it may be less readable. As always, use the appropriate tool for the situation to help maintain readability. | This can allow authors to write much more compact code which performs the same operation, though it may be less readable. As always, use the appropriate tool for the situation to help maintain readability. | ||
= Conclusion = | == Conclusion == | ||
Understanding Lua's use of variable scope is vital to understanding the process in which Lua decides which variable to use. Correct use of limited scope will allow your addon to be less likely to conflict with others, and minimize global namespace pollution. | Understanding Lua's use of variable scope is vital to understanding the process in which Lua decides which variable to use. Correct use of limited scope will allow your addon to be less likely to conflict with others, and minimize global namespace pollution. | ||
[[Category:Interface customization]] | [[Category:Interface customization]] | ||
[[Category:Lua functions| Lua Scope]] | [[Category:Lua functions| Lua Scope]] | ||