lua-users home
lua-l archive

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


Doug Currie <doug.currie@gmail.com> writes:
> the semantics for all values is by reference; some
> values are mutable (tables, userdata), most values are not mutable
> (numbers, strings, booleans).

Even the "immutable vs mutable" difference doesn't really seem
fundamental... One can think of everything as being just "references to
values," where different sorts of values have their own particular
operations; some types of values happen to have mutation operators,
whereas other types of values do not.

-miles

-- 
Faith, n. Belief without evidence in what is told by one who speaks without
knowledge, of things without parallel.