Original Reddit post

My task: extract functionality from an enormous codebase and make it a module in a modern language. Initially, we were extracting specs. Lots of them. It was investible to review them. They were not that good. Eventually, I decided to go code-first (realizing that the existing code base is a spec of sorts). I extracted separate concerns from it step-by-step and wired them up after, wrapping it in a nicer architecture. Iterating architecture and code quality etc. It felt wrong but it worked very well… Experiences? submitted by /u/rafaelement

Originally posted by u/rafaelement on r/ClaudeCode