lua-users home
lua-l archive

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


On Jan 10, 2010, at 6:45 PM, Alexander Gladysh wrote:

> Well, why not just do require("debug") then? "Moral" considerations
> should be the same.

Firstly because it would not be accompanied by the other baggage associated with "debug", and secondly because it would recognize a voluntary decision by the person administering the Lua environment to make those functions available to code within that environment.

This decision seems to indicate a philosophy of encapsulation by default, while still allowing users and embeddors to choose to expose or bridge information into other environments to the degree they wish and no more.

NFF