Fork me on GitHub
#off-topic
<
2016-01-17
>
cfleming02:01:57

@debug: I’m actually thinking about something like what you suggest above for Cursive. When you’re done experimenting with a bit of code in the REPL, it would be really nice to be able to say “Sync the latest definitions for each from from the REPL back to my project source”.

cfleming02:01:17

For extra brownie points, creating unit tests from the explorations while you were working would be cool too.

cfleming02:01:09

@sveri @borkdude: Cursive will install Leiningen automatically on first use, so you don’t have to do it. You can do pretty much everything from within the IDE these days, but some things are still more convenient on the command line.

cfleming02:01:56

@sveri: I’m also considering creating an SDK from the JRE that’s bundled with the IDE these days, to remove an additional (frequently confusing) step for newbies.

debug02:01:58

@cfleming That would be sweet! Also, another thing is that I'm seeing lein getting more mention out there, which seems to be as if its the default. I didn't know about boot until I joined this slack. I'm only saying this as I learned from the conversation that boot being the alternative, haven't really checked that yet.

cfleming03:01:24

@debug: Leiningen is definitely the default tool right now.

cfleming03:01:15

Boot is a (very) promising alternative, but 95%* of people use lein, and you’ll find most doc + examples using it

cfleming03:01:24

* totally made up statistic.

debug03:01:32

So is the project structure that lein generates is the standard for the community? Not that it would matter for a beginner, but just asking.

jaen10:01:33

@debug: well, project structure is entirely up to you, just depends on what paths put in your build.boot / project.clj, but in general yeah, the structure lein generates is pretty common across both build tools - just take a look at opensource Clojure projects on the github and you see they all look similar.

jaen10:01:39

As for the build tool - yes, lein is the default build tool, but if you want to look at Clojurescript then I very much recommend boot - it has IMO a more polished Clojurescript workflow than lein. If you would be interested in checking it out feel free to go through this tutorial, it's a very good introduction to boot - https://github.com/magomimmo/modern-cljs/tree/master/doc/second-edition

debug10:01:32

I've bookmarked that as per your earlier suggestion, thanks @jaen

jaen10:01:46

Ah, right, sorry '

debug10:01:43

I'll take that as an emphasis actually haha

juhoteperi13:01:47

Does anyone know if it's possible to filter which GitHub push notifications are posted to Slack? I don't remember if I added the integration myself but looks like I can't edit the configuration on Slack's side now.