2,800 Lines of Code → 160 Lines of Spec — Converting a Real Project with CanonCode
The bigger your codebase gets, the harder it is to answer “why does this feature work like this?” You end up opening 5 files. The design doc was written 3 months ago and nobody knows if it still matches the code. What if the design doc itself was executable, and you maintained that instead of the code? I experimented with this idea in a side project called CanonCode. The Idea: Govern Software Like Law Inspired by legal systems: ...