lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 02/12/2010 10:20, David Kastrup wrote:
That's not a Lua gotcha, but a computer gotcha.

Yes, but it is still a "gotcha for newbies"... Well, newbies at programming, at least. But since I see Lua as a good language to learn programming, it is worth mentioning.

Another one: don't concatenate strings in a loop (same issue as with Java or other languages with immutable strings).

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --