# Brendan Cody-Kenny: Architecture should become a compiler responsibility, not a burden on every code author.

Technical Due Diligence for Software M&A https://sub.xiliary.com/p/brendancodykenny

### 2026-11-08 update #architecture #codemods #verification
Architecture should become a compiler responsibility, not a burden on every code author.
- I don't review my 250 KLOC codebase. I measure cohesion, coupling, data flow, and semantic duplication.
- Two implementations may be fine; three are a signal to consolidate. Backward slices from slides and their overlap reveal shared responsibilities.
- Codemods clean up problems; the same detection rules become permanent metrics and linters.
- More heavily depended-upon functionality should receive stronger tests, typing, contracts and guarantees.

https://sub.xiliary.com/p/brendancodykenny/posts/93/architecture-should-become-a-compiler-responsibility-not-a
