lua-users home
lua-l archive

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

On Mon, Jun 6, 2011 at 4:40 PM, Alexander Gladysh <> wrote:
> Well, it all depends on what is called a "class", I guess. :-)

Precisely ;)  A factory that makes 'objects' with 'methods'.

> I would say that the word "class" it is a bit too strict for what Lua
> actually allows.

In the Java/C++ sense, this is true. But these languages did not
invent the concept, and in fact we are free to define these factories
in many entertaining ways.

steve d.