Sometimes all I do is write unit tests
optimally you’d have your code generate from the tests