lua-users home
lua-l archive

Re: Lua as Configuration Conditional Statement inside table definition

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


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.

AltStyle によって変換されたページ (->オリジナル) /