4 ms·
One killer feature remains exclusive to Lisp: macros. However, in languages as flexible as those you mention, with higher order functions and good type inferenc
by cageface 16y ago
One killer feature remains exclusive to Lisp: macros. However, in languages as flexible as those you mention, with higher order functions and good type inference, you don't need macros as much as you might in less flexible languages. I'd love to see a serious evaluation of the cost/benefit of s-exprs and macros in real-world production code but I'm not sure how exactly how you'd measure this.
My own cursory examination of the clojure-contrib library's use of macros, for example, suggested to me that many of them wouldn't be necessary in a language like Scala, but I'd love to see a more rigorous study.
- gaius 16y agoOne killer feature remains exclusive to Lisp: macros Lisp can't rest on its laurels here either: http://www.haskell.org/haskellwiki/Template_Haskell http://www.haskell.org/haskellwiki/Template_Haskell