lua-users home
lua-l archive

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


On Mon, Nov 12, 2012 at 9:34 AM, spir <denis.spir@gmail.com> wrote:
> PPS: I still dream of a PL where the sign for defining a symbol and the sign
> for redefining one would not so strangely be the same (and so strangely be
> '='!). So that, among other semantic and practicle benefits, it would not be
> possible to modify builtins unintentionnally and without even beeing
> notified; and maybe we would not need names like __newindex or such, just
> for protection against our feable brains ;-)

This would violate the Lua concept of a "nil" value being equivalent
to an unassigned value.

/s/ Adam