lua-users home
lua-l archive

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


> But on the other hand - a function that today may not need a state - could
> someday call another lua function thats require a state - and then your code
> would break :-/

While this is obviously true, it seems a little over-cautious to apply it
to a function which returns a member of a constant enumeration (and with
no obvious reason for that to change).

Things always can (and do, with each new release) break. There's a certain
amount one can do to minimise disruption, but it can become pathological,
as in this case.

-- 
http://sc3d.org/rrt/ | violence, n.  bravery for cowards