The REPL takes some effort if you're not used to it, but stick with it and 
you shall be greatly rewarded!

Since it's such an interactive workflow, I feel that it helps to view 
someone else use it. There's a great intro to Clojure video by Chas Emerick 
where he develops a small web application, it should allow you to get a 
grasp of the typical workflow: https://www.youtube.com/watch?v=VVd4ow-ZcX0 
 He uses the Eclipse plugin Counterclockwise - I haven't gotten around to 
trying Cursive myself, but the general idea is the same and should be 
transferable.


Den fredagen den 5:e december 2014 kl. 10:41:25 UTC+1 skrev Laye Zhou:
>
> Hi,
>
> I started learning Clojure this week and I'm a bit confused about the 
> general development process in the Clojure world. 
>
> When I write Java there is a main method as the entry of the program, and 
> in the IntelliJ IDEA it's kind of easy to run or debug the program by just 
> clicking the "Run" or "Debug". When I write Clojure code, this process of 
> "editing, compiling, debuting/running" seems so different because I need to 
> setup a Java application in IDEA + Cursive to start clojure.main -m 
> main-namespace and there is no way to just click that "Run" button. Is it 
> right I need to enable "Compile all namespaces" in the Clojure settings in 
> IDEA? And since now we're equipped with REPL, I wonder what is the best way 
> I can debug/run the program before I really build the project. Thank you.
>

-- 
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.

Reply via email to