Fork me on GitHub
#beginners
<
2017-03-17
>
jumar06:03:30

@lucianboboc for anything Cursive related, please, use #cursive channel

gklijs12:03:42

Is there any reason not to use defrecord for some code used both for the jvm and javascript? I have a couple of map objects that I use in a couple of places, and defrecord seems to be a good way to make the code less verbose.

us3r6422:03:19

hi people, what editor, IDE is the goto for clojure?

shaun-mahood22:03:58

@us3r64: There are quite a few good options now - what are you most comfortable with for other programming languages?

us3r6422:03:32

vim, vscode

shaun-mahood22:03:40

There is a vim option - check out the Clojure Tools section at https://clojure.org/community/resources for a good list

us3r6422:03:54

I was thinking a real IDE like IntelliJ should help there ...

shaun-mahood22:03:23

IntelliJ with Cursive is what I'm using, it's pretty awesome 🙂

us3r6422:03:54

i should better ask, is worth going for a IDE?

shaun-mahood22:03:04

That part I'm a little less sure of - both Cider (in Emacs) and Cursive have large numbers of Clojure devs who are very happy with them. I love Cursive as it is really, really easy to get started with and works very well, but I don't really use many of the real IDE features like I do in something like C# - it doesn't seem as necessary to me. But both Cider and Cursive have debugging tools that seem to have some pretty good features, so it's probably worth trying and seeing which of the different options really grabs you.

us3r6422:03:18

sounds good, thanks 👍

seancorfield22:03:35

@us3r64 If you’re used to vim / vscode editors, then I’d say stick with vim or try Atom / ProtoREPL. The vim / Clojure story is pretty good I gather (I’m an Emacs guy at heart tho’ — but I switched to ProtoREPL four months ago and I’m loving that).

seancorfield22:03:16

As @shaun-mahood says, try a few editors and IDEs and see what you like best.

shaun-mahood22:03:14

@seancorfield: Have you stuck with ProtoREPL full time since you switched? If so, that seems like a pretty strong recommendation!

seancorfield22:03:52

Yes. My Clojure editor trajectory went from TextMate when I first learned in 2010, to Eclipse/CCW for a year or so, then SublimeText for a short while, then Emacs — for years… after a 20 year break! — and then ProtoREPL full-time since Conj.

seancorfield22:03:23

I’ve tried several versions of IntelliJ and I just can’t stand it for some reason.

seancorfield22:03:07

I have Atom / ProtoREPL configured with Emacs key bindings so it mostly feels like a “modern Emacs”. I believe there’s a vim key binding package too?

us3r6422:03:19

looks interesting that combo Atom / ProtoREPL 🙂

shaun-mahood22:03:02

@seancorfield: I find IntelliJ somewhat unsettling, but Cursive is fantastic - I'm coming from Visual Studio as my primary editor for years so I assume there's some part of me that is still fighting the .NET/JAVA wars.

seancorfield22:03:13

@us3r64 There’s a #protorepl channel if you try it and need help.

seancorfield22:03:30

For vim there’s a #vim-fireplace channel.

us3r6422:03:00

nice, thanks