lua-users home
lua-l archive

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

On Tue, Oct 11, 2011 at 10:21 AM, Alex Queiroz <> wrote:
> Although I am no expert, I will try to answer anyway: NULL in this
> case can be a non-pointer type which has a single value. In this case
> all is needed is a encoding for this new type inside a machine word.
> But this is for a dynamic language, I don't know about Dart.

in Dart, numbers are objects that implement some interfaces, and all
the complexity of traditional OOP.  NULL is exactly that: no object,
while 0 is a number of value 0.