4 ms·
Contrast with Lua: equally possible to do monkey-patching, but it's considered unclean and confusing to do it in Lua, at least among the community. Generally, t
by stevedonovan 9y ago
Contrast with Lua: equally possible to do monkey-patching, but it's considered unclean and confusing to do it in Lua, at least among the community. Generally, there is a thing we could call the 'magic budget' and it's important not to blow it too quickly.
- shakna 9y agoI think this quote from Metalua's frontpage, an extended Lua for better metaprogramming, sums up that feeling perfectly: > Don't bother developers with macros when they aren't writing one: the language's syntax and semantics should be best suited for those 95% of the time when we aren't writing macros. An extended language to add more magic, says we don't need it most of the time. And to be honest, it's one of the things about the Lua community I find really attractive.