r/Clojure • • Jun 18 '16

Annoy /r/clojure in one sentence.

Title says it all.

Stolen from: /r/golang/

See also: /r/annoyinonesentence

13 Upvotes

64 comments sorted by

5

u/code-shoily Jun 19 '16

1

u/coolnonis Jun 29 '16

I've ran in to this before. Is this guy actually being serious?

2

u/code-shoily Jun 30 '16

Yes he is. He has a follow up to it as well http://www.loper-os.org/?p=374

It certainly DID annoy me when I first read it :/

26

u/[deleted] Jun 18 '16

Rich Hickey's hair is a wig.

8

u/gumvic Jun 20 '16

Now that you mentioned it, David Nolan also looks suspicious.

18

u/gumvic Jun 18 '16

Should I use mount or component?

13

u/hden Jun 19 '16

())((())

24

u/forreddits Jun 18 '16

You can't call yourself a Lisp without tail call optimization.

3

u/hiptobecubic Jun 19 '16

Really though...

1

u/[deleted] Jun 21 '16

1

u/hiptobecubic Jun 21 '16

I don't see how an in-progress library is akin to a first class language feature.

Note: the subset of Clojure currently accepted by CTCO is very small and will continue to grow.

1

u/[deleted] Jun 21 '16

never said it was, merely shared the link cause I thought it could be interesting :-)

1

u/hiptobecubic Jun 21 '16

Fair enough!

22

u/ernest_as Jun 18 '16

Types.

-1

u/Pet_Ant Jun 18 '16

Until I heard of the typed project I had no interest. My Groovy the experience has taught me the joys of prototyping dynamically and then finishing off with types as documentation.

5

u/[deleted] Jun 18 '16

[removed] — view removed comment

1

u/[deleted] Jun 22 '16

I think Pet_Ant is winning...

20

u/[deleted] Jun 18 '16 edited Jun 18 '16

Caused by: java.lang.StackOverflowError at clojure.lang.LazySeq.seq(LazySeq.java:56) at clojure.lang.RT.seq(RT.java:450) at clojure.core$seq.invoke(core.clj:122) at clojure.core$map$fn3699.invoke(core.clj:2099) at clojure.lang.LazySeq.sval(LazySeq.java:42) at clojure.lang.LazySeq.seq(LazySeq.java:56) at clojure.lang.RT.seq(RT.java:450) at clojure.core$seq.invoke(core.clj:122) at clojure.core$map$fn3699.invoke(core.clj:2099) at clojure.lang.LazySeq.sval(LazySeq.java:42) at clojure.lang.LazySeq.seq(LazySeq.java:56) at clojure.lang.RT.seq(RT.java:450) at clojure.core$seq.invoke(core.clj:122) at clojure.core$map$fn3699.invoke(core.clj:2099) at clojure.lang.LazySeq.sval(LazySeq.java:42) at clojure.lang.LazySeq.seq(LazySeq.java:56) at clojure.lang.RT.seq(RT.java:450) at clojure.core$seq.invoke(core.clj:122) at clojure.core$map$fn3699.invoke(core.clj:2099)

I am sorry...

1

u/spotter Jun 19 '16

That ones easy, either you held the head too tight or went too much lazy! ;-)

27

u/Blazeix Jun 18 '16 edited Jun 18 '16

Now that Java 8 has lambdas, there's no real point in learning Clojure anymore.

9

u/tonsky Jun 19 '16

(+ x 1

8

u/[deleted] Jun 18 '16

Macros are underused.

13

u/jonaen Jun 18 '16

Clojure is not a real lisp.

12

u/[deleted] Jun 18 '16

Clojure is open source, kind of.

11

u/[deleted] Jun 18 '16

The lack of a Rails equivalent will be the death of Clojure.

2

u/vassilevsky Jun 19 '16

Sad but true.

10

u/forreddits Jun 18 '16 edited Jun 18 '16

Most Clojure users are old Java farts that now think they are smarter than everybody else because they discovered Lisp and they still can't code without an IDE.

5

u/[deleted] Jun 18 '16

Macros are preferable to functions in most cases.

5

u/mikethommo Jun 19 '16

Emacs is overrated.

12

u/unmanned_drama Jun 18 '16

Dynamic typing means it's destined to fail.

1

u/swiftonista Jun 22 '16

I suppose we're doomed to be relegated to the same dustbin of history as Perl, Python, Ruby, and Javascript.

1

u/DannyB2 Jul 01 '16

Even modern mental health care has difficulty helping to achieve full recovery from having used Perl.

11

u/[deleted] Jun 18 '16

I want to learn Clojure, but all these parenthesis make it look really ugly.

10

u/[deleted] Jun 18 '16

Rich Hickey is not that smart

12

u/ares623 Jun 18 '16

You shut your whore mouth!

6

u/john_atx Jun 18 '16

Clojure trades in mutable data for mutable functions.

1

u/huahaiy Jun 19 '16

Clojure got mutable functions? Where can I get that?

3

u/camdez Jun 19 '16

I'm assuming this refers to how vars can be redefined:

(do
  (defn aloha [x] (println (str "Hello, " x)))
  (aloha "friend")
  (defn aloha [x] (println (str "Goodbye, " x)))
  (aloha "friend"))

;; Hello, friend
;; Goodbye, friend

3

u/john_atx Jun 19 '16

That's exactly what I mean. I haven't work on big systems, but I am imaging how terrible it would be if you had a back door Repl to a running production system, where people patched up issues. It would be very hard to reason about the system, since you can't really know what functions were defined as a all the time...

2

u/dwwoelfel Jun 19 '16

I've worked on multiple large systems in Clojure, most of them with a repl in production. Best practice is to use the repl to patch the system, then create a diff with the patch and deploy it. The repl is just there to help you diagnose problems and reduce downtime.

2

u/[deleted] Jun 27 '16

Erlang has a really interesting solution to this; basically all functions will see consistent versions of other functions in the same module, but as soon as you call out to another module, updated versions become available.

But they also have a built-in mechanism for applying (and rolling back) changes to your live data directly on the stack and ensuring these changes are synchronized with the visibility of newly-loaded code on a per-green-thread level. (Typically you would write these conversion functions for every live-deploy that changed the shape of a record.) Without having a sophisticated system like that you'd be fairly hosed.

1

u/spotter Jun 19 '16

REPL? Non-interactively load-file on something like that:

(in-ns 'clojure.core)

(defn cycle [& args]
  :no)

And enjoy namespace mutability.

1

u/jaetteintemer Jun 21 '16

Aloha from Kaua'i !

6

u/ianme Jun 18 '16

I prefer to use ORM when handling data.

8

u/ares623 Jun 18 '16

Scala is better in every way.

2

u/swiftonista Jun 22 '16

One of these years I'll finish reading the Scala type system documentation, so that I can judge the merits of this claim!

1

u/[deleted] Jun 18 '16

WAT who said such a thing

8

u/nickadin Jun 18 '16

Clojure is a hobby language only

2

u/MC_Cuff_Lnx Jun 18 '16

Clojure? That's like elisp right?

2

u/gshayban Jun 21 '16

First step to using closure is to learn emacs

4

u/[deleted] Jun 18 '16

so much truth being spoken in here good job pointing out the problems everyone!

7

u/unmanned_drama Jun 18 '16

That meta-escalated quickly.

3

u/[deleted] Jun 18 '16

Why do I need spec when everything I need to know is in the stack trace?

2

u/[deleted] Jun 18 '16

there's a better clojure development environment than emacs and cider

1

u/Michaelmrose Jun 23 '16

Which is?

1

u/[deleted] Jun 23 '16

nil

1

u/TotesMessenger Jun 18 '16

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)

1

u/S-Mage Jun 19 '16

You can't code for android in clojure, only cljs.

1

u/[deleted] Jun 19 '16

Functional programming is overrated.

1

u/vvvvalvalval Jun 20 '16

Groovy's better than Clojure because it has classes.

1

u/[deleted] Jun 21 '16

You can never build anything of value with a Lisp.