3 ms·
I do not understand the hype around clojure. I think functional programming languages have mainly evolved to introduce stronger typing and to remove the parenth
by webreac 13y ago
I do not understand the hype around clojure. I think functional programming languages have mainly evolved to introduce stronger typing and to remove the parenthesis. I wish a great future to scala (and haskell). For me, clojure is outdated.
- siddboots 13y agoI suppose it's because functional programming isn't a one-trick shop. There is a paradigm that comes out of lisp macros that can't be accomplished within a language like Scala or Haskell, even though those languages are superior in many other respects.
- webreac 13y agoscala has also macros since 2.10.0 : http://scalamacros.org/ http://scalamacros.org/ Is there something special in clojure macros ?
- willismichael 13y agoClojure macros were designed in from the beginning, and thus a significant portion of Clojure core is built using macros. Also, to repeat an oft-stated argument, Clojure is homoiconic, making it much easier to treat code as data, and data as code, which dovetails quite nicely with the macro system.
- happy_dino 13y ago> a significant portion of Clojure core is built using macros Well, pretty much all the Scala compiler is written using macros, because compiler API ~= macro API. Homoiconicity is nice, but the lack of it doesn't make anything impossible. If there is anything which makes stuff impossible, it's the static type system, which can catch most of your macro errors at compile time. That's a pretty good thing in my book.