logoalt Hacker News

Clojure in the Age of Language Models

6 points • by silcoon • today at 5:56 AM • 1 comment • view on HN

Comments

mrkeen • today 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.