6 ms·
I've dabbled in a tiny bit of Clojure and Racket. Thus far I'm enjoying Racket more. The two things I dislike about Clojure: 1. Running on the JVM means tha
by curryst 7y ago
I've dabbled in a tiny bit of Clojure and Racket. Thus far I'm enjoying Racket more. The two things I dislike about Clojure:
1. Running on the JVM means that you can use Java libraries, but the syntax to invoke them is messy. The errors you get are also often rather opaque, and as someone who didn't know Java going in, I ended up having to learn how Java works as well to actually use them.
2. It produces Java artifacts. That means slow start up times, which is annoying for CLI tools. I know there's Graal, but last time I tried there were some issues using the stdlib CLI parsing library. You can also do ClojureScript, but it doesn't support everything Clojure does.
I like that Racket produces native executables, and having so much stuff built into the stdlib removes a lot of the "I need a database connection, what are people using for that now?" questions.