the control variables in for statements are also automatically localized. I still see addon authors declaring their control variables as local before using them. why?
a = "volkswagen" for a = 1,4 do print(a) -- will print numbers end print(a) -- will print "volkswagen"
I read all of class 1. my brain melted. Not because I don't get it - I already understand Lua and -most- of it's concepts. However, even knowing how this stuff works - the deep underlaying mechanics of tables - Rowne TOTALLY confused the shit out of me. I'm not surprised some people didn't grasp it. Some examples: Someone brought up the topic of anonymous functions (but didn't know what to call it). Rowne should have stopped the conversation right there to explain it because it's one of the critical underlaying principles that make objects work in lua. Also, the syntatic sugar of the colon operator could have been explained a little better. If I didn't understand it already, I'd still be completely confused about where "self" comes from - but more importantly, why.
I will make an attempt to attend these.
edit: rereading my own post, I sounded bitchy. I didn't mean to. Honestly, I just want to help.