<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Project-Structure on Buro notes</title><link>https://notes.burelli.xyz/tags/project-structure/</link><description>Recent content in Project-Structure on Buro notes</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 25 Oct 2026 03:19:43 +0100</lastBuildDate><atom:link href="https://notes.burelli.xyz/tags/project-structure/index.xml" rel="self" type="application/rss+xml"/><item><title>Organize code by feature, not by type</title><link>https://notes.burelli.xyz/posts/engineering/code-design-and-architecture/organize-by-feature/</link><pubDate>Sun, 25 Oct 2026 02:57:28 +0100</pubDate><guid>https://notes.burelli.xyz/posts/engineering/code-design-and-architecture/organize-by-feature/</guid><description>&lt;h1 id="organize-code-by-feature-not-by-type"&gt;Organize code by feature, not by type&lt;/h1&gt;&#10;&lt;p&gt;Every project needs a folder structure: backend, frontend, CLI, any software. There are two ways to split files:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;by type&lt;/strong&gt;: models in one folder, controllers in another, tests in a third;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;by feature&lt;/strong&gt;: everything about one feature in one folder.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;My rule: &lt;strong&gt;always organize by feature&lt;/strong&gt;. This post explains why, with an example tree and the special case of the &amp;ldquo;utilities&amp;rdquo; folder.&lt;/p&gt;&#10;&lt;h2 id="the-bias-the-windows-xp-home-folder"&gt;The bias: the Windows XP home folder&lt;/h2&gt;&#10;&lt;p&gt;Many of us learned to organize files here:&lt;/p&gt;</description></item></channel></rss>