lua-users home
lua-l archive

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

On Tue, Oct 18, 2011 at 10:58 AM, Norbert Kiesel
<> wrote:
> On Tue, 2011-10-18 at 09:19 -0500, Javier Guerra Giraldez wrote:
>> On Mon, Oct 17, 2011 at 10:53 PM, Tang Daogang <> wrote:
>> > I override the __add method with ..
>> what a pity
>> for me, that's enough to say "thanks, but no thanks".
>> i have nothing against using + for strings, nor i think that '..' is
>> nicer than anything; but when i see the basic language modified just
>> because of carry-over familiarity with other systems, it sends a BIG
>> message of non-familiarity.

bamboo isn't a reusable library to be placed into other apps, its an
environment for making web apps.

Doing this is in reusable code would be bad taste, but doing it in a
specific application is taking advantage of lua's flexible nature,

> I saw other "strange" things in the code (e.g. ; as separator in
> table initializations) which I now assume are also there deliberately.

That is standard lua, see definition of fieldsep in