Re: [PROPOSAL] a new function: table.proto()
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [PROPOSAL] a new function: table.proto()
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 4 May 2010 14:04:49 +0200
2010年5月4日 spir ☣ <denis.spir@gmail.com>:
> This would allow having most array/sequence methods we miss now without polluting general (associative) table.
Ah, but mostly it doesn't feel like 'pollution'. Consider this little
excerpt from a utility I'm working on:
layout {
form = form,
TOP = layout.down {layout.across{input,btn},5,combo},
CENTER = scroll(text),
BOTTOM = layout{LEFT=status1}
}
Lua's roots in data description makes this kind of flexible
declarative style possible.
steve d.