<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Refactoring on Quasicode</title><link>https://quasicode.co.uk/tags/refactoring/</link><description>Recent content in Refactoring on Quasicode</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 David Watson</copyright><lastBuildDate>Sun, 29 Nov 2026 16:10:00 +0000</lastBuildDate><atom:link href="https://quasicode.co.uk/tags/refactoring/index.xml" rel="self" type="application/rss+xml"/><item><title>Taming the God Object: Using AI to Decompose a Growing Godot Simulation</title><link>https://quasicode.co.uk/posts/taming-the-god-object-godot-ai-refactor/</link><pubDate>Sun, 29 Nov 2026 16:10:00 +0000</pubDate><guid>https://quasicode.co.uk/posts/taming-the-god-object-godot-ai-refactor/</guid><description>&lt;p&gt;By Day 3 of my &lt;a href="https://quasicode.co.uk/posts/shipping-strategy-game-loop-5-days-ai/" &gt;five-day strategy game sprint&lt;/a&gt;, adding a small gameplay tweak had started feeling strangely sluggish. Every ticket seemed to touch the same giant root simulation script—which had quietly blown past &lt;strong&gt;2,700 lines&lt;/strong&gt; inside a 27-script project.&lt;/p&gt;</description></item><item><title>Auditing AI-Written Godot Tests: Fixing Brittle Mocks Before a Refactor</title><link>https://quasicode.co.uk/posts/auditing-ai-written-godot-tests/</link><pubDate>Thu, 26 Nov 2026 01:45:00 +0000</pubDate><guid>https://quasicode.co.uk/posts/auditing-ai-written-godot-tests/</guid><description>&lt;p&gt;Midway through my &lt;a href="https://quasicode.co.uk/posts/shipping-strategy-game-loop-5-days-ai/" &gt;five-day strategy game sprint&lt;/a&gt;, I was gearing up to break apart a bloated 2,700+ line root simulation script. Before touching it, I glanced at my test runner: &lt;strong&gt;42 headless test suites&lt;/strong&gt; and more than &lt;strong&gt;1,800 passing assertions&lt;/strong&gt; (running on a lightweight custom headless GDScript runner, though everything here applies equally to GUT or gdUnit4).&lt;/p&gt;</description></item></channel></rss>