clojure-losangeles

https://www.meetup.com/Los-Angeles-Clojure-Users-Group/
mpemer 2019-07-12T16:28:04.011600Z

Greetings.... Curious who in this channel uses emacs and cider for clojure development?

lukasz 2019-07-12T16:40:41.012300Z

I use Emacs, but without cider - my setup is based on Monroe: https://github.com/lukaszkorecki/dotemacs/blob/master/settings/lk/clojure.el and https://github.com/lukaszkorecki/dotemacs/blob/master/etc/repl.clj

lukasz 2019-07-12T16:40:49.012800Z

it gives me just enough of CIDER's features

dorab 2019-07-12T18:40:10.013300Z

I use emacs/cider.

mpemer 2019-07-12T19:06:18.017300Z

Hi @dorab - cool, so do I. My colleague is having a hard time getting over the learning curve and he ended up with intellij/cursive. I have used emacs since 1993 so it came natural to me, but the experience of my colleague (mainly based on frustration when he tried really hard to get productive with emacs) was eye opening.

dorab 2019-07-12T19:10:08.020200Z

Yes. I am a long-term emacs user, so using cider was "natural". But if a person is trying to learn clojure AND emacs at the same time, I can understand how that would be frustrating. The general suggestion when learning clojure (or any new language) is to use the editor/IDE that you're most familiar with to get started. THEN, once you're up and running, try out other IDEs to get a sense of the tradeoffs.

👍 1
☝️ 1
1
mpemer 2019-07-12T19:33:18.021300Z

Thank you @dorab - this makes perfect sense.

2019-07-12T19:58:40.021500Z

I use emacs + cider

2019-07-12T19:59:16.022Z

I used vi/vim for 15 years before switching about 10 years ago

2019-07-12T20:00:25.022800Z

many folks won't agree with me, but to me, not learning emacs is akin to not learning regular expressions or deciding not to learn git

nate 2019-07-12T20:02:41.023500Z

@aaelony is that in relation to clojure at all or do you think learning emacs is essential even beyond that?

2019-07-12T20:05:00.025300Z

note, this is strictly my opinion and I respect others may differ, but yes. I think emacs is an excellent tool (for many things: organize your life with org-mode, all text processing, etc...) that also just happens to have a great clojure experience.

2019-07-12T20:05:30.025600Z

I use it heavily for R-coding as well

2019-07-12T20:06:30.026600Z

(it might even reduce RSI by using the keyboard more than the mouse)

nate 2019-07-12T20:07:48.026800Z

interesting

nate 2019-07-12T20:08:09.027300Z

yeah, definitely doing less mousing is good

nate 2019-07-12T20:08:21.027500Z

I find it helps with speed too

nate 2019-07-12T20:09:13.028900Z

I think using an editor and getting the most out of it is a good thing, emacs is one and so is vim

nate 2019-07-12T20:09:36.029600Z

I've found people that have the same level of productivity and customization in other editors too

2019-07-12T20:09:57.030200Z

agree 100%. There are many things with a learning curve that aren't as useful. My opinion is that you can start with a cheat-sheet with emacs and be up and running quickly. Everything you learn incremental to that is an added plus that will improve skills and shape your metal

nate 2019-07-12T20:10:07.030500Z

but I've also met those that use just the basic configuration, and I think they're missing out

mpemer 2019-07-12T20:22:03.038Z

To me emacs provides the most powerful environment when programming lisp. I come from a common lisp background, using slime/swank, and in our company we have recently worked on a few projects based on clojure. Because of my background using emacs, cider came as the natural choice and I feel perfectly comfortable using it. My colleague, who by now far surpasses me as a clojure programmer, was unable to stay with the emacs learning curve mainly because he felt it impeded his productivity. I am still somewhat puzzled at how he ended up experiencing what I see as by far the most powerful environment as unworkable. Hence my initial question.

lukasz 2019-07-12T20:24:59.039100Z

Switching tools is hard, I'm not sure how I could switch away from my hand crafted, locally sourced, farm to table emacs config

nate 2019-07-12T20:25:41.039400Z

hahaha

nate 2019-07-12T20:26:03.040Z

yeah, and you'll have to pry my small batch vim config from my cold dead hands

❤️ 1
nate 2019-07-12T20:30:32.041100Z

I've tried emacs several times and it never meshed with my modal mindset. I totally agree that switching tools is hard, especially when you've got so much invested in one.

lukasz 2019-07-12T20:30:59.042200Z

I've used vim for 6 years, switched to evil and then removed it completely after a month or so

lukasz 2019-07-12T20:31:16.042900Z

too many emacs packages needed extra code to integrate with evil so it was a waste of time

lukasz 2019-07-12T20:31:25.043300Z

I heard good things about spacemacs though

lukasz 2019-07-12T20:31:31.043500Z

especially from vim/vi fugitives

nate 2019-07-12T20:31:46.043600Z

I think it's wonderful that the connected editing workflow works in so many editors. That way emacs can't be seen a barrier to Clojure's adoption.

2019-07-12T21:11:04.046Z

i started using emacs for doing clj, then did enough elisp along the way to become a CL nerd. so, watch out 😄

2019-07-12T21:11:49.046700Z

i mostly use vim now, but i still really like elisp for scripting. the emacs binary on most OSes includes an http client and json parser which is exactly what i need for lots of scripty type tasks

nate 2019-07-12T21:38:29.047800Z

Oh interesting. Using elisp for scripting. I've been meaning to try out joker for that task.

dorab 2019-07-12T21:48:45.053200Z

Agree with @aaelony that learning emacs will make you a better tool user - even if you never end up using it. Being exposed to the concepts and power of integration that emacs provides will help you understand what is possible. Just like learning LISP will make you a better programmer - even if you never end up using it.

2019-07-12T22:10:22.055Z

(+1 even better if you use it ;)

2019-07-12T22:23:08.055100Z

it’s pretty weird. https://github.com/alandipert/wondr-blog/ is the most sophisticated thing i’ve made, some blogware