Bringing Clojure programming to Enterprise (2021)

(blogit.michelin.io)

76 points | by smartmic 3 hours ago

8 comments

  • killme2008 1 hour ago
    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.

    • dgb23 1 hour ago
      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.

  • laszlojamf 8 minutes ago
    Slightly off topic, but I find it to be a testament of how software has already eaten the world when friggin Michelin has a tech blog. What's next? General Electric releasing a frontend framework?
    • user3939382 6 minutes ago
      Funny example since they’re known for automotive parts and their food guide. It’s almost on brand.
  • LouDNL 2 hours ago
    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!
    • thunky 0 minutes ago
      Clojure has some pretty big downsides last i looked:

      - syntax is hard to read unless you spend a lot time getting used to it

      - too dynamic for most people's taste - no type safety - the opposite of boring - no clear use case to show it clearly beating other languages - niche with small community and job market - JVM

      For all those reasons its a hard sell for most imo.

  • midnight_eclair 38 minutes ago
    every time i go back to writing non-clojure code outside of repl-driven environment i feel like a cave man banging rocks against each other

    no amount of ide smartness or agentic shenanigans is going to replace the feeling of having development process in sync with your thought process

  • sswezey 2 hours ago
  • 0x1ceb00da 3 hours ago
    What is the y axis in first chart? What is the data source?
  • VMG 2 hours ago
    503
  • maximgeorge 3 hours ago
    [dead]