<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reusability on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/reusability/</link><description>Recent content in Reusability on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 03 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/reusability/index.xml" rel="self" type="application/rss+xml"/><item><title>Intermediate Topics: Grouping, Reusability, and Text</title><link>https://ai-blog.noorshomelab.dev/svg-guide/intermediate-grouping-reusability-text/</link><pubDate>Sun, 02 Nov 2025 18:00:00 +0530</pubDate><guid>https://ai-blog.noorshomelab.dev/svg-guide/intermediate-grouping-reusability-text/</guid><description>&lt;h1 id="5-intermediate-topics-grouping-reusability-and-text"&gt;5. Intermediate Topics: Grouping, Reusability, and Text&lt;/h1&gt;
&lt;p&gt;As your SVGs become more complex, you&amp;rsquo;ll need ways to organize your code, reuse common elements, and integrate text effectively. This chapter introduces crucial elements for these tasks: &lt;code&gt;&amp;lt;g&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;defs&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;use&amp;gt;&lt;/code&gt;, and &lt;code&gt;&amp;lt;text&amp;gt;&lt;/code&gt;/&lt;code&gt;&amp;lt;tspan&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="51-grouping-elements-with-g"&gt;5.1 Grouping Elements with &lt;code&gt;&amp;lt;g&amp;gt;&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;&amp;lt;g&amp;gt;&lt;/code&gt; element is used to group related SVG shapes together. This is incredibly useful for applying styles or transformations to multiple elements simultaneously. Any attributes applied to a &lt;code&gt;&amp;lt;g&amp;gt;&lt;/code&gt; element are inherited by its child elements.&lt;/p&gt;</description></item><item><title>Crafting Reusable Code with Functions</title><link>https://ai-blog.noorshomelab.dev/python-mastery-2025/chapter-6-crafting-reusable-code-functions/</link><pubDate>Wed, 03 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/python-mastery-2025/chapter-6-crafting-reusable-code-functions/</guid><description>&lt;h2 id="introduction-the-power-of-reusability"&gt;Introduction: The Power of Reusability&lt;/h2&gt;
&lt;p&gt;Welcome back, coding adventurer! So far, you&amp;rsquo;ve learned how to store information in variables, make decisions with &lt;code&gt;if&lt;/code&gt;/&lt;code&gt;else&lt;/code&gt; statements, and repeat actions with loops. You&amp;rsquo;re already building small, powerful programs! But what if you find yourself writing the same set of instructions over and over again? Or what if your program gets so long that it&amp;rsquo;s hard to follow? That&amp;rsquo;s where functions come to the rescue!&lt;/p&gt;</description></item></channel></rss>