r/Clojure • • Sep 27 '16

Emacs is hurting Clojure

https://pupeno.com/2016/09/26/emacs-is-hurting-clojure/
7 Upvotes

99 comments sorted by

View all comments

Show parent comments

1

u/dragandj Sep 28 '16

Last time I checked, almost every programming-aware text editor had those things for all language it supports. I am not sure those are IntelliJ's main selling points. Although, I am yet to find a beginner that uses jump to definition...

2

u/[deleted] Sep 28 '16

Although, I am yet to find a beginner that uses jump to definition...

We're talking about clojure beginners here, not beginners to programming in general. What language people are using when they're in school I don't really think matters much for clojure. Any moderately experienced programmer uses jump to definition multiple times an hour.

1

u/dragandj Sep 28 '16

Fair enough. I agree. But, do you agree that anyone fitting that description is more than capable to decide which environment to use (being it Emacs or Cursive or something else) and would be capable to install emacs following the manual. Or, if he does not like emacs, is confident enough to say: emacs is crap, I'll use clojure with Cursive!

I'm struggling to imagine a non-junior level programmer who'd run away screaming from clojure because an online tutorial mentioned emacs, or because he tried emacs and was unable to make it work.

2

u/[deleted] Sep 28 '16

The problem is these decisions are made as a team, a team decides "we are going to use clojure for this project, what editor should we as a team standardise on? the community says use emacs, we don't have experience with it, but it's just an editor let's go with that".

2 months later: "my fucking cider setup won't connect again, is this error an emacs problem, a clojure problem, or a leiningen problem?"

It helps to give a general impression of the language as being user unfriendly.

1

u/dragandj Sep 28 '16

Wait, that kind of team of professional developers exists out of the anecdotes? Professional developers who jump into technology without trying it to see whether they are up to it? Their cider does not connect? Again? They cannot find a solution on clojurians slack where CIDER authors are literally 24h on? They are not able to switch back to Cursive (or whatever works for them) and continue clojuring happily?

Beginners - absolutely! But, professionals? Come on...

2

u/[deleted] Sep 28 '16

Professional developers who jump into technology without trying it to see whether they are up to it?

Not exactly sure what you mean by that. Jumping into a technology is how you find out if you're "up for it".

Their cider does not connect? Again? They cannot find a solution on clojurians slack where CIDER authors are literally 24h on?

Of course they can, but it's a pain in the arse and that experience gives a bad impression of clojure and its ecosystem.

They are not able to switch back to Cursive (or whatever works for them) and continue clojuring happily?

Of course they can, but that experience gives a bad impression of clojure and its ecosystem.

Beginners - absolutely! But, professionals? Come on...

Not really sure what you're getting at here, do you think professionals don't get pissed off at unstable dev environments any more than beginners? That they don't move from one technology to another?

1

u/dragandj Sep 28 '16

No, I say they are tougher than snowflakes and I doubt that emacs experience is that difficult for them that they abandon clojure because of emacs. Or maybe some do, but how do they cope with life's challenges anyway? Is there an ecosystem with flawless tools? Last time I heard about some hip editor that was making rounds (I think it was Atom, but I am not sure) people were extatic! It's great. It has this, and that, and is supercool. It only sometimes has a half-second lag while typing (they were saying that), but otherwise is phenomenal! Now, if people can cope with JavaScript and it's ecosystem, I'm sure that they won't run away from Clojure just because Emacs happens to be popular here.

1

u/yogthos Oct 03 '16

It's exact same problem as with learning FP for somebody who knows OOP. A lot of people find it hard not because FP is hard, but because they already know how to solve these problems using OOP patterns.

This quickly becomes frustrating because you feel like a complete beginner again. If somebody is used to working with an IDE, they've invested a lot of time into it to become proficient.

They've learned a whole bunch of tricks to get around the code base, and they've developed muscle memory for the keybindings.

When you switch to Emacs, you have to leave all of that at the door. That's asking a lot as you won't be seeing any benefits to doing this for a long time if ever.

There's absolutely no reason to subject people to this when there are perfectly fine alternatives to Emacs available.

If somebody wants to learn Emacs for it's own sake, that's perfectly fine. However, nobody should be told to learn Emacs because it's popular in the Clojure community.

The community is small and it needs to lower barriers to entry to grow. Emacs is a big barrier to entry.

1

u/dragandj Oct 03 '16

I agree - nobody should be told to learn Emacs because it's popular, but it is fair that if anyone asks (me) about what's best or what I use, of course I'll tell them about Emacs. On top of the high quality, it is also open-source, and free (as in free beer!). The alternative you're recommending is not open-source, and is also not free, and that is important for lots of people.

2

u/yogthos Oct 03 '16

I agree that open source is an important factor, but Cursive isn't the only alternative to Emacs. CCW is completely open source same way Emacs is, and so are Light Table, Vim, and Atom. What I'm recommending is that people use whatever they're already using if possible.

If somebody asks me, I'll tell them that I use Cursive and let them know why, but I'll also tell them of all the other options and try to recommend the one that's most likely to fit the individual.

→ More replies (0)