logoalt Hacker News

Clojure in the age of language models

33 points • by silcoon • yesterday at 5:56 AM • 13 comments • view on HN

Comments

slifin • yesterday at 1:54 PM

I love Clojure's Flowstorm, it makes it easy to verify code is doing what you think — all the data is exposed programmatically so you can also create your own GUIS from it or feed it to LLMs so they can have a deep understanding of program behaviour (or you can browse it yourself)

➕ show 1 reply
mrkeen • yesterday at 9:21 AM

> A bigger problem is the tedious necessity of having to reconstruct the desired state every single run. When you have something small with limited functionality, that is fine, but as your application grows, rebuilding the state can take a significant effort.

This is what tests are for. There should be no buildup of internal state that can't be arrived at with a simple invocation in a unit test.

➕ show 1 reply
dzonga • yesterday at 1:25 PM

I haven't written Clojure in a while.

but I think clojure is well suited for the age of llm's. token efficient .everything is data even the code is data is easy to deal with verification. pure functions etc.

however one will still need to know how to write / read clojure. when the industry is trending towards not reading code e.g the shit dhh has been parroting lately about not reading code and likewise many people in the industry.

➕ show 1 reply
Kuyawa • yesterday at 1:21 PM

[dead]