Talk:Dynamic programming language: Difference between revisions

Content deleted Content added
m fix header levels
Line 73:
 
Closures are a way of creating new functions at runtime - in that sense they are related to dynamic compilation. Macros in Lisp can be seen as a run-time extension to the interpreter / compiler.
 
But closures don't create new code at runtime and thus have nothing to do with dynamic compilation. They only bind a function with an environment, something that can be (and often is) done with plain C. And lisp macros are expanded at compile time, as long as the application doesn't use any form of 'eval' at runtime (in most cases it's not needed and some implementations might not even have 'eval') macros are not used after compilation. [[User:TokenLander|TokenLander]] ([[User talk:TokenLander|talk]]) 19:46, 18 March 2011 (UTC)
 
==Advantages==