Ok, * cracks knuckles * I know what I need to do to refactor this. It’s a bit hairy, at times containing anti-patterns, and quite highly coupled, but it’s nothing I haven’t tackled before.
Oh wait… actually I spoke too soon, I think my initial assessment of the problem space was wrong, and there is a reason we ended up with this spagetto.
I still have claude installed on my machine, what’s so bad with just using it to get a birds’ eye view of the problem and use it as a rubber duck?
Glad I didn’t, I ended up reconnecting with Golang Templates for my blog, and with how easy it is to write AI Agents in RxJS.
| Metrics | Score | Note |
|---|---|---|
| Satisfaction | 9 | |
| Mental fatigue / cognitive load | 8 | |
| Number of PRs merged | 1 | finally |
| Time to complete desired features | 1 week | |
| Confidence in released features | 8 |