r/Clojure • • Mar 19 '18

State of Clojure 2018 Results

http://blog.cognitect.com/blog/2017/1/31/clojure-2018-results
105 Upvotes

59 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Mar 22 '18

Well it does prove your point in a way about unhelpful messages, it's probably the most basic error a new user to Clojure could find and would it be that hard to special case it to say "no main"?

Language design is a regular topic of discussion in the Clojure community because, it turns out, lots of us have reasonable opinions about how things should be, those opinions maybe easier to express than address if you bear the weight of stewarding a language. So, I don't expect Cognitect to be making a special case of even this most simple of special cases.

Clojure's a great language for getting stuff done, don't be put off by the errors!

1

u/joinr Mar 22 '18 edited Mar 22 '18

Well it does prove your point in a way about unhelpful messages, it's probably the most basic error a new user to Clojure could find and would it be that hard to special case it to say "no main"?

Totally agree. Why not cover the trivial, 90% cases that trip folks up? Particularly if they're simple fixes?

Clojure's a great language for getting stuff done, don't be put off by the errors!

"Please give me more helpful errors, and watch how much more I can get done in Clojure!"

Or, "look how much easier it is to show how great Clojure is without new folks getting stuck in error quagmire for apparently common error cases" :)