lua-users home
lua-l archive

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


> Out of interest is there a reason for making such uses of code only
> compatible with 5.2 rather than get and set which is valid for both
> 5.1 and 5.2?

You have a point, portability and minor impact when upgrading is important,
but I try to make my libraries use the best API in each version, since
they're probably taken as a showcase for the Lua API (for better or worse).
I do maintain separate versions of my libraries.