On Thursday, June 9, 2016 at 12:08:39 PM UTC-4, Jiacai Liu wrote: > > I started learning clojure recently, and I am annoyed at the way to run > it (aka. lein run). why clojure script can't be run like python,ruby or > scala, like python <file>.py >
Having just gotten into Clojure, I have the same pain. But I am a long time Lisper, so I understand that this just means that Clojure is a true Lisp, because Lisps punish noobs in cruel and unusual ways. And, yes, specifically I am astonished that I have never seen a clj or cljs repl without executing some opaque command-line sequence involving lein or boot or god knows what. OTOH, I have already ported a rather intense library from Common Lisp to Clojure and then, oh, what the heck, ClojureScript as well, and am about to deliver a may to program mobile devices in ClojureScript. But I have an advantage: I know this aggravation is typical, and I know the wonders that await me if I ignore the wolf under my cloak for a month or two. And seeing my library running on my phone is just the first wonder. If you are coming from a non-lisp, I can only guess at your frustration. Trust me. Hang in there. Work through Brave Clojure until you are able to Actually Code Something(tm) and then run with it. That should get you to the point where you stop noticing the wolf. Then you can write a guide to help other noobs such as yourself. But you will not*. You will not be able to stop coding. And that is why Lisps are so unapproachable! hth. hk * Actually, many good-hearted folks have taken time to help us noobs, or I would not still be here. :) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.