[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Next version of Lua - new 'createtable' function
- From: Duncan Cross <duncan.cross@...>
- Date: Wed, 17 Jun 2009 16:30:56 +0100
On Wed, Jun 17, 2009 at 4:21 PM, Peter Cawley <firstname.lastname@example.org>
It could be because Lua scripts already have a way to create tables.
If the standard libraries had a table.create function, then what
arguments would it take?
* narray, nhash? In which case, the standard library API implies
things about the underlying implementation details of tables in other
implementations of Lua.
I would expect this. Why is that such a bad thing? Those other implementations can just ignore those parameters if the assumptions are untrue.