lua-users home
lua-l archive

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

On Thu, 24 Jun 2010 09:27:07 -0400
Patrick <> wrote:

> I am re-reading the Lua reference manual. I see that Lua is written
> in a subset of ANSI C and C++ known as clean C. I would like to
> improve my C code and what better way then to follow in the Lua
> developers footsteps but I can't find a references to this online.
> Could someone point the way?

I imagine they're simply referring to the subset of ANSI C that is also
valid C++.  Mostly, this is avoiding using things like "new" or
"delete" as identifiers.  Beyond that, it's just tidy,
warning-free, and elegant.  You can't really write a book on how to do
that; it comes with experience.