[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Clean Lua
- From: GrayFace <sergroj@...>
- Date: Fri, 18 Nov 2011 23:41:51 +0700
On 18.11.2011 20:27, Dirk Laurie wrote:
2. Don't use # or the table library on non-sequences.
WOW, why is that?
What I don't like about 5.2 is that 5.1 is cleaner in many ways. __gc
behaves as a normal methamethod (no 'tagging' of userdata), function
definitions always produce a new function, 'level' parameter of 'error'
actually makes sense (it lost any sense in 5.2 due to pointless decision
to abolish tail calls counting).
5.2 has cleaner sides too, like yielding despite
pcall/iterator/metamethod and _ENV.
Sergey Rozhenko mailto:email@example.com