lua-users home
lua-l archive

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


Well, it seems Lua has a strong commitment with keeping its API simple, which is not a bad thing, of course. Languages like python, have a strong sales point with its "batteries included" policy, where most commonly used libraries are packed together with the interpreter.

Maybe Lua could sap some of "batteries included" marketing power by endorsing rocks or libraries (or defining interfaces) as standard implementations of certain functionalities. Lua does not have native support for classes, per example, but it has many libraries which allows you to work with classes quite easely. The problem is that they are not always compatible with one each other.

This particular (and common) problem could be solved with a advise in the lua page. Something like: "if you need classes, use this library" or "if you're building a classes library, make sure it is compatible with this pattern/interface".

Opinions?

--
"A arrogância é a arma dos fracos."

===========================
Me. Italo Moreira Campelo Maia
Co-fundador do Grupo de Usuários Python do Ceará
Secretário ForHacker (fb.com/ForHackerSpace)
Desenvolvedor Full-Stack, Escritor, Empresário, Visionário
-----------------------------------------------------
Meu Livro, Site, Blog
===========================