Yesterday’s user group catalysed an important discussion about a fundamental tension in specification.
Most of the hour went to discussing in-progress work on Allium v4, which is currently in alpha and being road-tested with clients. A solver now sits behind the CLI, so invariants such as “balance never goes negative” are checked at design time rather than suggested as tests at implementation time, including flagging like concurrency risks (e.g. race conditions). This direction exposes a deep trade-off: a spec that gives design-time feedback can improve soundness but incurs a cost on human readers.
Introducing more precision has a tendency to make the specification harder to digest for a casual reader. This a well-studied dynamic which reminds me of e.g. Tesler’s law of conservation of complexity, Brooks on essential complexity, etc.
The open question I have is where Allium should sit on that spectrum.
Our work on large financial systems at JUXT pulls us towards correctness, but the goal is still accessible rigour, and yet we might not all agree on what ‘accessible’ means. Should a spec stay readable by a layperson? Or do we ask for more sophisticated readers in return for more sophisticated specs?
I’d welcome feedback on how you use specifications. A few things are on my mind:
- How legible do you require a spec to be to a technical generalist / business stakeholder?
- Do you expect to read specs directly, or do you e.g. get AI to mediate your spec questions?
- How valuable is design-time feedback to you? Does it sound like a pipe dream - better to invest in good tests against a concrete implementation instead?
- What kinds of software are you building / what’s your tolerance for bugs that slip into production?
Thoughts appreciated!