lua-users home
lua-l archive

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


On 14/12/12 16:41, Thijs Schreijer wrote:
I have used this as well, but again, it depends on the remainder of your
API. It's a code convention whether you want explicit setter/getters, or
implicit like your example.
Whatever you do, try to be as consistent as possible.

And when writing an API from scratch, which one annoys the user the less?

Jorge