[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Web development with Lua
- From: Sam Roberts <vieuxtech@...>
- Date: Tue, 18 Oct 2011 11:36:32 -0700
On Tue, Oct 18, 2011 at 10:58 AM, Norbert Kiesel
<nkiesel@tbdnetworks.com> 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 <daogangtang@gmail.com> 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,
IMO.
> 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
http://www.lua.org/manual/5.1/manual.html#2.5.7
Cheers,
Sam
- References:
- Web development with Lua, Luciano de Souza
- Re: Web development with Lua, Sebastien Lai
- Re: Web development with Lua, Tang Daogang
- Re: Web development with Lua, jyf
- Re: Web development with Lua, Victor Young
- Re: Web development with Lua, Norbert Kiesel
- Re: Web development with Lua, Victor Young
- Re: Web development with Lua, Norbert Kiesel
- Re: Web development with Lua, Tang Daogang
- Re: Web development with Lua, Javier Guerra Giraldez
- Re: Web development with Lua, Norbert Kiesel