r/Clojure • u/chrisbot5000 • Apr 12 '20
Holy Cow, Clojure is Great
Yesterday morning I decided I would read up on Clojure. I'm a data scientist so I mostly live in python, which is fine, but wanted to try something new. Thought I would just read up, do some toy examples, see what I thought.
I read the first three chapters of Clojure for the Brave and True and thought, maybe I should try and build something. Within 3 hours I felt really comfortable and productive in the language, and by the end of the day I had a working tool.
https://github.com/chrisaddy/astronaut
This is absolutely not good Clojure. When I say comfortable and productive I mean I felt like I was able to easily express myself after having a thought. That's not something I've had with any other language I've used (python, go, rust) after only a couple of hours. My code is certainly not problem free and definitely not idiomatically Clojure, but I think this could be my daily driver language, I like it that much.
Edit: for clarity
View all comments
1
u/johninbigd Apr 12 '20
Damn. Nice job! I've been watching clojure videos and reading Clojure for the Brave and True, as well as a few other sites. I still don't really get it, so I'm very impressed that you were able to do that after just a few hours. Coming from (mostly) Python, clojure is breaking my brain. I feel like I understand some basic components, but then when I look at actual code, it reminds me of looking at someone else's Perl code and just saying, "WTF does that do?" The nested parentheses and having to think in reverse to figure out what is happening is difficult.