lua-users home
lua-l archive

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

Jamie Webb wrote:
> On Thu, Oct 13, 2005 at 12:37:42PM -0300, Walter Cruz wrote:
>>And more, just for curiosity: there are another languages where is not
>>possible use strings as arrays ?
> Lua's strings are similar to Java's, except that Java uses unicode
> characters rather than bytes, and doesn't do interning until told to.
> And it has the StringBuffer class for those occasions when you want a
> string to be mutable.
> -- Jamie Webb
Well, I suppose this calls for a StringBuffer class to be written
for Lua ;)  [though for optimality it'll probably have to be in C]
I think the StringBuffer idea's a great idea, or perhaps for clarity
just calling it a Buffer might be better.

Thomas Harning Jr.

Attachment: signature.asc
Description: OpenPGP digital signature