3 ms·
> All or nearly all of the functional aspects of Clojure have counterparts in Scala. On top of that, Scala provides [...] Scala doesn't provide the syntactic m
by vorg 13y ago
> All or nearly all of the functional aspects of Clojure have counterparts in Scala. On top of that, Scala provides [...]
Scala doesn't provide the syntactic macros, or the same simpler approach to concurrency.
- eugene_burmako 13y agoScala macros are different. We deeply respect the Lisp tradition, in which we are rooted, but we also accommodate and empower our language's values - static types and rich syntax [1]. The end result is admittedly less flexible, but it also opens a number of interesting possibilities beyond those available in Lisp [2]. Our design is also not set in stone, and we're experimenting with different macro flavors [3], but it's too early to say something definitive about those. [1] http://scalamacros.org/paperstalks/2013-09-19-PhilosophyOfScalaMacros.pdf http://scalamacros.org/paperstalks/2013-09-19-PhilosophyOfSc... [2] http://scalamacros.org/paperstalks/2013-12-02-WhatAreMacrosGoodFor.pdf http://scalamacros.org/paperstalks/2013-12-02-WhatAreMacrosG... [3] http://docs.scala-lang.org/overviews/macros/annotations.html http://docs.scala-lang.org/overviews/macros/annotations.html