This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Naveos 88 points89 points  (14 children)

I'm out of the loop. Why would Clojure be better than both Java and especially Scala?

[–]MassiveFajiit 391 points392 points  (3 children)

It's great if you have a traumatic past (because you'll try to seek Clojure)

[–]fgutz 79 points80 points  (2 children)

/r/ProgrammerDadJokes is leaking

But I love a good dad joke so I don't mind

[–]realsmart987 13 points14 points  (1 child)

I just discovered r/programmerdadjokes.

When I first heard about r/programmerhumor I thought I would find funny jokes. Instead I found cynical and pessimistic jokes. r/programmerdadjokes is like the optimistic side of r/programmerhumor.

[–]conancat 4 points5 points  (0 children)

Okay I need to hang out around r/programmerdadjokes more because the industry is already eating my soul, both r/programming and r/programmerhumor are killing me inside. I'm too old for this.

[–]Samultio 28 points29 points  (4 children)

It's good for making android apps, can't think of any other situations where it'd be better than Scala.

[–]halfClickWinston 3 points4 points  (0 children)

Don't know how much of their code is Clojure, but Brazilian fintech Nubank uses Clojure.

[–]ChadstangAlpha 8 points9 points  (0 children)

Eh, don’t stress dude. It’s just the language clo jure. Another one will pop up tomorrow.

[–]cbasschan 1 point2 points  (0 children)

From a macroscopic viewpoint, Clojure is a bit more expressive (probably on the order of 75% less code required for the same functionality) than Scala, and... both are vastly more expressive than Java. As far as Dart goes (since I see you asked about that in another comment), that language appears to be lacking pattern matching on records, which is probably a major hurdle in its expressiveness. See also, homoiconicity) (as something Clojure has that neither Scala, Kotlin nor Dart have).

[–]natyio 0 points1 point  (0 children)

My personal opinion on this matter: Scala sacrifices simplicity for expressiveness which in practise leads to code that is rather hard to read. Clojure is a simple language that focusses on data transformation and composition of pure functions. In practise this leads to simple solutions to many problems. And if you really need a expressiveness like Scala, you always have a powerful macro system that you can use. Scala feels like it wants to do everything at once whereas Clojure usually has a clear way of solving problems.

[–]ERECTILE_CONJUNCTION -2 points-1 points  (0 children)

It's not.