<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Claude&#x27;s ugly code]]></title><description><![CDATA[<p dir="auto">This is some code Claude gave me</p>
<pre><code>if (key == "midi" &amp;&amp; isDefined(data.midi))
    ma.setAutomationDataFromObject(data.midi);
else if (key == "macro" &amp;&amp; isDefined(data.macro))
    mh.setMacroDataFromObject(data.macro);
</code></pre>
<p dir="auto">This is how I would write it</p>
<pre><code>if (!isDefined(data) || !isDefined(data[key]))
    return;

if (key == "midi")
    ma.setAutomationDataFromObject(data[key]);
else
    mh.setMacroDataFromObject(data[key]);
</code></pre>
<p dir="auto">Just sayin</p>
]]></description><link>https://forum.hise.audio/topic/14917/claude-s-ugly-code</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 04:47:53 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14917.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Jul 2026 21:11:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Claude&#x27;s ugly code on Sat, 11 Jul 2026 23:48:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/357">@dannytaurus</a> the first time I heard the term 'human-readable' gave me the heebee geebeez. lol</p>
<p dir="auto">Who else is reading?...<img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f628.png?v=fba14f4754a" class="not-responsive emoji emoji-emoji-one emoji--fearful_face" style="height:23px;width:auto;vertical-align:middle" title=":fearful_face:" alt="😨" /> lmaoo</p>
]]></description><link>https://forum.hise.audio/post/121927</link><guid isPermaLink="true">https://forum.hise.audio/post/121927</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Sat, 11 Jul 2026 23:48:33 GMT</pubDate></item><item><title><![CDATA[Reply to Claude&#x27;s ugly code on Sat, 11 Jul 2026 21:34:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a> Depends who (or what) is more likely to be reading the code in the future I guess.</p>
]]></description><link>https://forum.hise.audio/post/121926</link><guid isPermaLink="true">https://forum.hise.audio/post/121926</guid><dc:creator><![CDATA[dannytaurus]]></dc:creator><pubDate>Sat, 11 Jul 2026 21:34:55 GMT</pubDate></item><item><title><![CDATA[Reply to Claude&#x27;s ugly code on Sat, 11 Jul 2026 21:19:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a> said in <a href="/post/121924">Claude's ugly code</a>:</p>
<blockquote>
<p dir="auto">This is how I would write it</p>
</blockquote>
<p dir="auto">scrape THAT! haha.</p>
]]></description><link>https://forum.hise.audio/post/121925</link><guid isPermaLink="true">https://forum.hise.audio/post/121925</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Sat, 11 Jul 2026 21:19:15 GMT</pubDate></item></channel></rss>