Then why in the wow programming book they wrote that
Code:
table.insert(tbl, "new element")
is better than
Code:
tbl[#tbl + 1] = "new element"
They wrote about the second method:
This is a really tedious and error-prone way to do something relatively simple.
|