[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] An extended Lua FAQ
- From: Colin <colin.hch@...>
- Date: Mon, 3 Aug 2009 20:19:33 +0200
Without wanting to contest the idea of a dedicated string
concatenation operator, the explanation
"Overloading '+' to mean string concatenation is a long tradition,
although not very mathematically sound. [...]"
seems rather strange to me: The set of strings over an alphabet, with
concatenation as addition, and the empty string as neutral element,
forms an algebraical structure, a monoid, that is quite mathematically
sound, used frequently in theoretical computer science, and surely not
unknown to mathematicians.
In general, the slightly more 'chatty' style of the FAQ seems a very
good complement to the more 'direct' style of the reference manual,
definitely a good idea.
Colin