lua-users home
lua-l archive

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




Petite Abeille wrote:
Syntax sugar aside, it's rather straightforward to roll your own

I think we'll have to disagree on what straightforward means. For things like this, syntatic sugar is everything. Which is why, if Ruby ever becomes as fast as the rest, it will win. Your example makes try/catch/finally in C++ look delightful, its so much easier to read, understand and use.

Much as I like Lua, the purist/stripped down nature of it means that I think it will be forever a specialist niche language and JS or Ruby will end up being the ultimate implementation language (whatever their demerits).

Lua + some syntactic sugar could go a long way to making Lua a much more mainstream language.

Stephen