[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: nil semantics in Lua
- From: Cosmin Apreutesei <cosmin.apreutesei@...>
- Date: Mon, 1 Jun 2009 02:37:15 +0300
I wonder why lua didn't adopted sql-like semantics for nil, i.e. nil
transcends all types, short-circuits standard operations and
functions, and nil ~= nil. It got good with tables though (although
many ppl see that differently). IMHO, it would had resulted in more
composability of standard functions and functional idioms, thus more
expressivity.