lua-users home
lua-l archive

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


On Mon, Dec 6, 2010 at 14:52, Dirk Laurie <dpl@sun.ac.za> wrote:

> For example, having been a Pascal programmer when there was not much
> else to program in, I would love to write s[i] for s:sub(i,i).

This is a bad idea. Do not fight against the language. When you write
code in Lua, you should think in Lua, not in the language you're
comfortable with. Otherwise you'll wind up using a dialect which is
not compatible with the rest of the world.

Alexander.