This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (13)
- # babashka (19)
- # beginners (74)
- # boot (1)
- # calva (5)
- # clj-kondo (22)
- # clojure (46)
- # clojure-android (3)
- # clojure-dev (4)
- # clojure-uk (69)
- # clojurescript (19)
- # community-development (17)
- # cursive (27)
- # datomic (9)
- # emacs (13)
- # graalvm (2)
- # instaparse (4)
- # luminus (1)
- # off-topic (21)
- # reagent (6)
- # remote-jobs (1)
- # ring-swagger (4)
- # test-check (49)
- # vrac (1)
I looking for some good use cases. Trying to smuggle Clojure at work. persistent collections are a good starter, but they don't mingle well with the Java 8 streams and generics. Lots of hard casts. The code is bloated and someone else could decide to replace them with Guava, in the future.
Clojure’s approach is quite intentionally different from Java’s. Using just a little Clojure is likely to be worse than all in on either. The best way to leverage it is to implement a component or subsystem behind a set of Java interfaces.
My smuggle plan is to create one of our next microservices in Clojure. Tell them I already have it half built from a side-project.
yes, that's a perfect level of granularity (and kind of one of the selling points of microservices imo)
For what it's worth, we introduced Clojure as a low-level library language inside our legacy ColdFusion apps on the JVM back in 2011 and that's how we iterated into an all-Clojure shop over time.
We rely on Clojure's Java API for that (to get Vars and IFns and invoke methods on them). Over the years we've approached the classpath aspect in several different ways (because that was something CFML didn't have, so we had to write some CFML code to add things to the classpath, and we integrated that initially with Leiningen under the hood at startup, then switched to Boot, then switched to the CLI and
I gave a talk back in 2012(?) at Clojure/West called Doing Boring Things with an Exciting Language that covered how we'd introduced Clojure to our existing non-Clojure systems. I've given a longer follow-up called Clojure and CFML Sitting in a Tree at several meetups too.
hadn't seen that one, thanks for mentioning (and giving) it. presume it is this: https://www.infoq.com/presentations/Real-World-Clojure/
Is ask.clojure also intended for questions like "how do I read from a socket connection with clj-http", like something you would ask on StackOverflow?
this section i guess: https://ask.clojure.org/index.php/questions/other/libs
Does anyone know of a resource like the book "operating system concepts" but for browsers?
And people used to say it was over-the-top to call browsers the new operating systems! 😉