Earlier quoted context omitted.
This is a bit of an "XY Problem" question. I have migrated all my code to Gleam, FE and BE, Bun, browser, and BEAM. Claude knows much less about Gleam than it does about Javascript or React. However the constraints of Gleam and its Elm inspired framework Lustre are so strong, Claude gives me much better results. The only difference is I need to adjust my initial guidance.
Any favorite gleam projects to learn from? I've always admired the direction gleam was heading in, and the community is awesome. But with gradual typing now in elixir, I'm weighing whether or not gleam offers anything special enough to get me spending time there instead of just using elixir.
Biff.core: system composition for Clojure web apps
11–20 of 34 posts
Re: Biff.core: system composition for Clojure web apps
#12Recently my impression has been that whatever the agentic tools are best at is also what's best for solo projects or proof of concepts. I used to love writing custom CSS, but Claude is just so much better at Tailwind that I ended up switching, even though I still kind of loathe the class soup. Is AI any good at Clojure?
It's okay when you use it just like any other PL, which is roughly the Unix/pipe model - batch-style. Agent spawns process -> reads stdout/stderr -> spawns next process. State lives in-between the calls and in files. Each tool invocation is stateless.
Things get far more interesting when you give an LLM a true Lisp REPL. LLM stops guessing and starts empirically analyzing current state of things and produces working solution faster, costing far less tokens. And you get to watch it solve things interactively, e.g. I often let AI poke through our UI (via Playwright-driven Clojurescript REPL), while monitoring situation in k8s - through nrepl port, connected to Clojure REPL.
Re: Biff.core: system composition for Clojure web apps
#13Recently my impression has been that whatever the agentic tools are best at is also what's best for solo projects or proof of concepts. I used to love writing custom CSS, but Claude is just so much better at Tailwind that I ended up switching, even though I still kind of loathe the class soup. Is AI any good at Clojure?
It is but it remains shockingly bad at closing sufficiently deeply nested parens at least as far as chatGPT
Re: Biff.core: system composition for Clojure web apps
#14Recently my impression has been that whatever the agentic tools are best at is also what's best for solo projects or proof of concepts. I used to love writing custom CSS, but Claude is just so much better at Tailwind that I ended up switching, even though I still kind of loathe the class soup. Is AI any good at Clojure?
Yes. Generally, it's quite good. It does have a blind spot with parens, but good old Claude Opus then cranks up a python script (yes!) to sort it all out. I wouldn't leave any of the models out on their own - you'll still have to clean up some obviously crazy stuff, but it's pretty clear what needs to done. In conclusion, Claude and ChatGPT are quite decent at Clojure. Oh, I do like Biff.
Re: Biff.core: system composition for Clojure web apps
#15Recently my impression has been that whatever the agentic tools are best at is also what's best for solo projects or proof of concepts. I used to love writing custom CSS, but Claude is just so much better at Tailwind that I ended up switching, even though I still kind of loathe the class soup. Is AI any good at Clojure?
Re: Biff.core: system composition for Clojure web apps
#16Recently my impression has been that whatever the agentic tools are best at is also what's best for solo projects or proof of concepts. I used to love writing custom CSS, but Claude is just so much better at Tailwind that I ended up switching, even though I still kind of loathe the class soup. Is AI any good at Clojure?
Re: Biff.core: system composition for Clojure web apps
#17Earlier quoted context omitted.
This is a bit of an "XY Problem" question. I have migrated all my code to Gleam, FE and BE, Bun, browser, and BEAM. Claude knows much less about Gleam than it does about Javascript or React. However the constraints of Gleam and its Elm inspired framework Lustre are so strong, Claude gives me much better results. The only difference is I need to adjust my initial guidance.
Any favorite gleam projects to learn from? I've always admired the direction gleam was heading in, and the community is awesome. But with gradual typing now in elixir, I'm weighing whether or not gleam offers anything special enough to get me spending time there instead of just using elixir.
Re: Biff.core: system composition for Clojure web apps
#18Earlier quoted context omitted.
Any favorite gleam projects to learn from? I've always admired the direction gleam was heading in, and the community is awesome. But with gradual typing now in elixir, I'm weighing whether or not gleam offers anything special enough to get me spending time there instead of just using elixir.
I wrote a book about setting up a small gleam project, covers organization of the project in general. A draft is live at https://escherize.com/gleam-katas
Re: Biff.core: system composition for Clojure web apps
#19Re: Biff.core: system composition for Clojure web apps
#20Maybe I'm grumpy and old or something, but I wish there was only one Component library for Clojure, out of all the things this should have been the one everyone settled on.