Arc Forumnew | comments | leaders | submitlogin
3 points by Oscar-Belletti 2992 days ago | link | parent

So now Scala has got macros?

Are they comparable to lisp ones? What do you think?



3 points by akkartik 2992 days ago | link

Looks like Scala has some experimental macro feature: http://docs.scala-lang.org/overviews/macros/overview.html. I imagine people will be about as likely to use it as they've been to use previous non-lisp macros (i.e. not very likely).

OP isn't about macros because the output of the function isn't automatically evaluated. It's a step in the direction of allowing any programmer to perform compiler transformations and optimizations on his/her own code. I'm very interested in that area.

-----