alt.hn

4/2/2026 at 8:19:11 AM

Bringing Clojure programming to Enterprise (2021)

https://blogit.michelin.io/clojure-programming/

by smartmic

4/2/2026 at 10:03:40 AM

I wrote Clojure for about five years. Left when I changed jobs, not because I wanted to. It's genuinely one of the most productive languages I've used, and I still miss the REPL-driven workflow.

One thing I built: defun https://github.com/killme2008/defun -- a macro for defining Clojure functions with pattern matching, Elixir-style. Still probably my favorite thing I've open sourced.

by killme2008

4/2/2026 at 10:46:32 AM

I like it! Really nice API.

I had an idea about writing something similar, but for multimethods, but never got around thinking it through and trying it out.

The way defmulti and defmethod work is that they do a concurrency safe operation on a data structure, which is used to dispatch to the right method when you call the function.

My hunch is that it should be possible to do something similar by using core match. What I don't know is whether it's a good idea or a terrible one though. When you're already doing pattern matching, then you likely want to see everything in one place like with your library.

by dgb23

4/2/2026 at 9:16:49 AM

It's good to read that Clojure is getting more and more exposure. I write Clojure fpr my day job and wouldn't want to swap it for anything. The community is small but very helpfull and easy reachable. The learning curve is steap indeed, but very much worth it!

by LouDNL

4/2/2026 at 8:51:17 AM

[dead]

by maximgeorge