lua-users home
lua-l archive

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


> Then, there are macros. Macros are extremely powerful; as we've seen, they
> can make everything look OK, so it's hard for the language to convey
> opinion, and for a consensus on what's idiomatic to emerge. Another problem
> is, since by using them you essentially design your own single-use language
> for your application, you're the only one in the world using that language
> variant. So long for integrating other people's libraries, and for other
> people to integrate your libraries. We know how to package functions and
> data structures in modular, reusable ways; we don't know how to do that with
> macros, so macros hurt code reuse.

I couldn't agree more.

-- Roberto