I really like Clojure (and have enjoyed David Nolen's CLJS tutorials and guides), but I find ClojureScript to have terribly arcane tooling. Despite being familiar with Clojure, it's still 10 minutes of cargo-culting and copy-pasting before I can start actually working on a ClojureScript project. Slightly ironic for a language which places such an emphasis on removing "incidental complexity."
ClojureScript, Lisp's Revenge [video]
21–30 of 36 posts
Re: ClojureScript, Lisp's Revenge [video]
#22Earlier quoted context omitted.
If Emacs is your thing, which it should be if you do Clojure, DPPs starter project Spiffy, will give you very decent setup in a couple of minutes. https://github.com/dragonmark/spiffy
> If Emacs is your thing, which it should be if you do Clojure, This is the kind of attitude that keeps people away from your language. The amount of people who shun away from C# simply because they don't like the idea of Windows / Visual Studio should be a hint.
And it's unfounded. Thanks to Lisps unusually regular syntax adding support for semantic editing features (paredit-like) should be rather straightforward in any editor. And accidentally paredit is also enough to make coding any Lisp way more pleasant than editing raw code in other languages.
See http://emacsrocks.com/e14.html for an overview.
I'm actually kind of disappointed that in the demo I saw adding parens manualy, one at a time, instead of using wrap-sexp etc.
Re: ClojureScript, Lisp's Revenge [video]
#23Re: ClojureScript, Lisp's Revenge [video]
#24Re: ClojureScript, Lisp's Revenge [video]
#25Earlier quoted context omitted.
It is definitely more powerful than Javascripts...
You mean it's better than Sweet.js? http://sweetjs.org/
So it seams to clojure macro system is more powerful. That said that does not mean its better.
Re: ClojureScript, Lisp's Revenge [video]
#26I really like Clojure (and have enjoyed David Nolen's CLJS tutorials and guides), but I find ClojureScript to have terribly arcane tooling. Despite being familiar with Clojure, it's still 10 minutes of cargo-culting and copy-pasting before I can start actually working on a ClojureScript project. Slightly ironic for a language which places such an emphasis on removing "incidental complexity."
Re: ClojureScript, Lisp's Revenge [video]
#27Earlier quoted context omitted.
> If Emacs is your thing, which it should be if you do Clojure, This is the kind of attitude that keeps people away from your language. The amount of people who shun away from C# simply because they don't like the idea of Windows / Visual Studio should be a hint.
That's more of a Lisp problem than a Clojure problem. All the Expert Lisp Programmers settled on Emacs many moons ago (as in decades past) and no one has bothered to write another (good) Lisp-friendly text editor since. And well, you can't really write Lisp without a suitable text editor, so all the Lisp neophytes either give up or learn to cope with emacs and eventually forget about replacing it.
Re: ClojureScript, Lisp's Revenge [video]
#28Earlier quoted context omitted.
You mean it's better than Sweet.js? http://sweetjs.org/
No, I haven't looked into sweetjs enough. I was just referring to raw javascript macros.. (ie. non existent).
Re: ClojureScript, Lisp's Revenge [video]
#29Earlier quoted context omitted.
You mean it's better than Sweet.js? http://sweetjs.org/
> Sweet.js brings the hygienic macros of languages like Scheme and Rust So it seams to clojure macro system is more powerful. That said that does not mean its better.
Also, Clojure macros are kind-of, a-little-bit hygienic, with their rules for identifiers resolution.
Anyway, I'd say they're rather similar in expressivity and capabilities, but I don't know both macro systems well enough to do detailed comparison.
Re: ClojureScript, Lisp's Revenge [video]
#30Earlier quoted context omitted.
That's more of a Lisp problem than a Clojure problem. All the Expert Lisp Programmers settled on Emacs many moons ago (as in decades past) and no one has bothered to write another (good) Lisp-friendly text editor since. And well, you can't really write Lisp without a suitable text editor, so all the Lisp neophytes either give up or learn to cope with emacs and eventually forget about replacing it.
Could you explain what you mean by a reasonable text editor? Thanks