Shipped my first major Clojure project for a company based near me. I rewrote all of a Python 2 legacy backend to Clojure. What I love about this language • I can use any java library, in a way that is much more ergonomic than Java itself. • I can "hang out" in various namespaces as I'm building the code, and try things in an iterative way. This is killer for someone that has trouble staying focused 🙂 • I love parens, my eyes can parse code filled with s-exprs much more easily than C style syntax now. • The community, you all have been so helpful. • the ring/compojure stack for building web services. It finally clicked with me not too long ago why Clojure is focused on small, focused libraries. It's a lot like lisp itself. Build things from the bottom up rather than the top down. Libraries appear to follow this ethos as well and are very good at the things that they do. Bring only what you need. Anyway, happy Friday 🙂
> I rewrote all of a Python 2 legacy backend to Clojure. Well that's certainly one way to sidestep a Python 2 -> Python 3 migration. That too with style 😄
A blog post about this would be great... IMHO, there is much to learn from experience reports, but sadly they are way too uncommon.
I evaluated Python3, and certainly I could have done it (i've spent 10 years writing Python) but I love Clojure, and the company gave me the choice of what I wanted to pick. I'm the solo dev for these people, and will be for as long as they exist, so Clojure it is 🙂
Might even need to hire someday
Plus rather than spend time writing some highly optimized number crunching code in Python, I can write in Clj and be good enough latency wise, it's awesome
took the latency of the system from 5-10s per response down to <1s, could probably do even better as I improve 🙂
congrats!
Congrats! Lovely summary. May I screenshot it and post it on my socials?
absolutely!
Just tag me 🙂 https://x.com/windlejacob12