I thought they were going to hold this until Clojure/conj 2024. No particular reason to believe so (besides Clojure 1.10 being released around the same time as Clojure/conj 2021 and the Datomic-becoming-free announcement being done at the very start of Clojure/conj 2023). Still waiting on spec2, though... for now I am working around rigidity of specs by using Malli but it really isn't a first-class citizen in Clojure…
I really wanted schema/select after watching “maybe not”, so wrote a library for malli: https://github.com/eval/malli-select
Clojure 1.12.0 is now available
111–120 of 120 posts
Re: Clojure 1.12.0 is now available
#112Dumb question: what is clojure usually used for ? (in my view, Java is for "enterprise" stuff, python for AI/data sciences, C for performance, etc.)
It can easily interop with Java and do the same stuff that Java does ('enterprise stuff' and more).
It excels at handling data transformations, so it's popular for tasks involving complex data pipelines, analysis, or real-time processing.
Clojure’s immutable data structures and concurrency story make it great for building highly concurrent systems, so things like financial services, real-time monitoring, event processing.
Clojurescript compiles to Javascript and interops with it well, so web based front end applications. It's used for mobile app development too.
There are libraries for AI/data sciences and there's python interop via library too, so you can build Clojure apps on top of Python libs.
Native-fast shell scripts using Babashka.
I would not use it for low level system programming (eg. where C is used), but for everything else - it would be one of my first choices.
It's a very pragmatic and practical programming language, with a strong philosophy behind every design decision and the fact that it can interop with pretty much everything makes it a powerful tool in skilled hands. Learning curve is quite steep though, but well worth climbing it.
Re: Clojure 1.12.0 is now available
#113This is a wonderful language I've only just started paying attention to, watching the talks from Rich on YouTube have ruined things I loved (like Either types.) I'm struggling with how to introduce it into my company without recommending my colleagues follow my path of working through 3 books and then watching most of the conj talks from the last 12 years on 1.75x speed, while building a personal project and re-imple…
Dont. It wont be appreciated because nobody but you can work on it, and one day you wont work there anymore and the company is stuck with a few projects in Clojure while the rest is on their regular tech stack. You are creating a major company risk just for your own personal benefit.
I see nil panics a couple times a week, in prod. We could learn the methods and apply them in other languages, like other people said they did in this thread.
Re: Clojure 1.12.0 is now available
#114Earlier quoted context omitted.
Clojure is more lindy than Scala. If someone tells you their project is written in Scala, Golang, Groovy, Coffeescript it almost dates the project doesn't it? Not so much in Clojure. It's niche but I can bet it's still going to be there 10 years from now, going at least as strongly as now.
I'm not so sure. I wish it were as you say but there are currently 5600 job postings mentioning Scala on LinkedIn in the USA, vs 82 that mention Clojure. 82! In the entire USA. So even in its state of relative decline, Scala might be about 70 times as used in industry as Clojure is. Even as I flip through the 7 postings mentioning Clojure in all of Canada, only 4 of them seem to indicate the job itself makes use of t…
I certainly wouldn't.
Re: Clojure 1.12.0 is now available
#115Dumb question: what is clojure usually used for ? (in my view, Java is for "enterprise" stuff, python for AI/data sciences, C for performance, etc.)
$5M ARR. Two full-time developers.
Re: Clojure 1.12.0 is now available
#116A major problem people have at first[0] is just reading the code. AIs like ChatGPT and Claude are incredibly good at explaining existing Clojure code.
As a result, developers can onboard much, much faster.
[0] After a few weeks, reading Clojure becomes second nature and you'll forget you ever COULDN'T read it.
Re: Clojure 1.12.0 is now available
#117Earlier quoted context omitted.
Honestly, maybe don’t. You love Clojure, that’s awesome. But introducing it at your company if it does not have a lisp culture already might not go so well. You say so yourself: lisp dialects like Clojure come with a steep learning curve, and not everyone will appreciate the shift, especially if they're comfortable with the current stack. Forcing it on your team could create frustration, confusion, and a lot of resen…
it is better to have +1 company with Clojure (potentially hiring), than +1 Clojure dev looking for work
Re: Clojure 1.12.0 is now available
#118This is a wonderful language I've only just started paying attention to, watching the talks from Rich on YouTube have ruined things I loved (like Either types.) I'm struggling with how to introduce it into my company without recommending my colleagues follow my path of working through 3 books and then watching most of the conj talks from the last 12 years on 1.75x speed, while building a personal project and re-imple…
Honestly, maybe don’t. You love Clojure, that’s awesome. But introducing it at your company if it does not have a lisp culture already might not go so well. You say so yourself: lisp dialects like Clojure come with a steep learning curve, and not everyone will appreciate the shift, especially if they're comfortable with the current stack. Forcing it on your team could create frustration, confusion, and a lot of resen…
I’ve vowed since then to stick it out, to work hard building something better at the companies I work at, and to make it obvious from my resume and day to day that I care about being somewhere long term. I take the idea of leaving my campsite better than I found it seriously, and if Clojure was just a fun hobby for me I wouldn’t try to introduce it at work. I think my colleagues can learn a lot from the language and paradigms that are at the core of the language, my hope isn’t that we re-write our stack in Clojure, or even that the services I write in it persist past when I leave. My hope is that I can use it as an example to show the other engineers I work with a better way, even if we do it with go in most of the stack.
Re: Clojure 1.12.0 is now available
#119This is a wonderful language I've only just started paying attention to, watching the talks from Rich on YouTube have ruined things I loved (like Either types.) I'm struggling with how to introduce it into my company without recommending my colleagues follow my path of working through 3 books and then watching most of the conj talks from the last 12 years on 1.75x speed, while building a personal project and re-imple…
The way is to drop Clojure and adopt it's principles. Teach your colleagues the functional engineering principles. You can write code that looks a lot like Clojure in any modern language now, a lot of the functional primitives have been adopted in mainstream. e.g. Async/await => channels. I started my career as a Clojure/Clojurescript developer 12 years ago. And now I do python for ML research and Typescript for prot…
At least for npm you don't have to do this. With shadow-cljs, nbb, and squint, you now have good mature options for consuming npm packages.
Re: Clojure 1.12.0 is now available
#120What had become of spec? Abandoned? Any news on hopes for it?
It continues to exist and is in use. Lots of work has been done on a successor, but that is stalled while we consider what we want to do on various things.