<?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[I wonder: in what cases does an LLM decide to extract to a helper function, and in what cases does it decide to repeat the same five lines of code in six different places in the same file?]]></title><description><![CDATA[<p>I wonder: in what cases does an LLM decide to extract to a helper function, and in what cases does it decide to repeat the same five lines of code in six different places in the same file?</p><p>I…I can't even.</p>]]></description><link>https://forum.fedi.dk/topic/007e8f3e-b2da-412e-9c34-2240710bb2e4/i-wonder-in-what-cases-does-an-llm-decide-to-extract-to-a-helper-function-and-in-what-cases-does-it-decide-to-repeat-the-same-five-lines-of-code-in-six-different-places-in-the-same-file</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 07:59:01 GMT</lastBuildDate><atom:link href="https://forum.fedi.dk/topic/007e8f3e-b2da-412e-9c34-2240710bb2e4.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jul 2026 04:51:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I wonder: in what cases does an LLM decide to extract to a helper function, and in what cases does it decide to repeat the same five lines of code in six different places in the same file? on Wed, 22 Jul 2026 06:16:31 GMT]]></title><description><![CDATA[<p><span><a href="/user/gausby%40mastodon.xyz">@<span>gausby</span></a></span> <span><a href="https://mstdn.social/@iamkonstantin">@<span>iamkonstantin</span></a></span> are you forced to use it?</p>]]></description><link>https://forum.fedi.dk/post/https://social.data.coop/users/reynir/statuses/116962164171410373</link><guid isPermaLink="true">https://forum.fedi.dk/post/https://social.data.coop/users/reynir/statuses/116962164171410373</guid><dc:creator><![CDATA[reynir@social.data.coop]]></dc:creator><pubDate>Wed, 22 Jul 2026 06:16:31 GMT</pubDate></item><item><title><![CDATA[Reply to I wonder: in what cases does an LLM decide to extract to a helper function, and in what cases does it decide to repeat the same five lines of code in six different places in the same file? on Wed, 22 Jul 2026 06:01:41 GMT]]></title><description><![CDATA[<p><span><a href="https://mstdn.social/@iamkonstantin">@<span>iamkonstantin</span></a></span> or change that thing you just told it to stop doing, back to what you told it to stop doing, because you forgot to specify that you didn't want that thing…</p><p>I hate this technology.</p>]]></description><link>https://forum.fedi.dk/post/https://mastodon.xyz/users/gausby/statuses/116962105830584414</link><guid isPermaLink="true">https://forum.fedi.dk/post/https://mastodon.xyz/users/gausby/statuses/116962105830584414</guid><dc:creator><![CDATA[gausby@mastodon.xyz]]></dc:creator><pubDate>Wed, 22 Jul 2026 06:01:41 GMT</pubDate></item><item><title><![CDATA[Reply to I wonder: in what cases does an LLM decide to extract to a helper function, and in what cases does it decide to repeat the same five lines of code in six different places in the same file? on Wed, 22 Jul 2026 04:58:17 GMT]]></title><description><![CDATA[<p><span><a href="/user/gausby%40mastodon.xyz">@<span>gausby</span></a></span> or keeps adding to the same module file to thousands of lines <img src="https://forum.fedi.dk/assets/plugins/nodebb-plugin-emoji/emoji/android/1f602.png?v=7979fdcf9c7" class="not-responsive emoji emoji-android emoji--joy" style="height:23px;width:auto;vertical-align:middle" title="😂" alt="😂" /><img src="https://forum.fedi.dk/assets/plugins/nodebb-plugin-emoji/emoji/android/1f648.png?v=7979fdcf9c7" class="not-responsive emoji emoji-android emoji--see_no_evil" style="height:23px;width:auto;vertical-align:middle" title="🙈" alt="🙈" /></p>]]></description><link>https://forum.fedi.dk/post/https://mstdn.social/ap/users/116509509388802785/statuses/116961856549703822</link><guid isPermaLink="true">https://forum.fedi.dk/post/https://mstdn.social/ap/users/116509509388802785/statuses/116961856549703822</guid><dc:creator><![CDATA[iamkonstantin@mstdn.social]]></dc:creator><pubDate>Wed, 22 Jul 2026 04:58:17 GMT</pubDate></item></channel></rss>