O'Reilly logo

Beginning Lua with World of Warcraft Addons by Paul Emmerich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  13

image

Tips, Tricks, and Optimization

This is the third and last chapter that is entirely focused on Lua and uses only a few functions of the World of Warcraft API. I will show you a few useful tips and tricks you can use in your addons. This chapter also covers the coroutine standard library, which hasn't been discussed yet as it is quite complicated and rarely used in addons (but it is still very powerful).

I will also show you how a few things in Lua work internally, including strings and tables. It is important to understand how these elements work if you want to use them in a smart way. Every data structure has its strengths and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required