[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua as Configuration Conditional Statement inside table definition
- From: steve donovan <steve.j.donovan@...>
- Date: Wed, 10 Nov 2010 15:20:33 +0200
On Wed, Nov 10, 2010 at 2:34 PM, KHMan <keinhong@gmail.com> wrote:
> Maybe a better question would be, what is an example of a worst-case
> complexity version of the original configuration snippet? Working on simple
> cases may be misleading.
Yes, maybe 'median' complexity since there are always pathological
cases, as long as there are pathological programmers ;)
At least Lua does not need to drop to a primitive semi-language (like
the C preprocessor) to express conditional evaluation. A mixture of
the imperative and the declarative?
Apparently people like if-statements - but then is it a _configuration_ format?
steve d.