<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Minindu Hewawasam on Medium]]></title>
        <description><![CDATA[Stories by Minindu Hewawasam on Medium]]></description>
        <link>https://medium.com/@mininduhewawasam?source=rss-2adc95ec7e89------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cRcFiv9hCixGB6XVzofzLA.jpeg</url>
            <title>Stories by Minindu Hewawasam on Medium</title>
            <link>https://medium.com/@mininduhewawasam?source=rss-2adc95ec7e89------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 03:54:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mininduhewawasam/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Beginner’s Guide to Fine-Tuning AI Models: What All These Techniques Actually Mean]]></title>
            <link>https://medium.com/@mininduhewawasam/a-beginners-guide-to-fine-tuning-ai-models-what-all-these-techniques-actually-mean-9aacc48f906f?source=rss-2adc95ec7e89------2</link>
            <guid isPermaLink="false">https://medium.com/p/9aacc48f906f</guid>
            <dc:creator><![CDATA[Minindu Hewawasam]]></dc:creator>
            <pubDate>Fri, 03 Jul 2026 01:30:02 GMT</pubDate>
            <atom:updated>2026-07-03T01:30:02.670Z</atom:updated>
            <content:encoded><![CDATA[<p>When you first enter the AI space, the terminology can feel overwhelming.</p><p>You hear people talk about <strong>fine-tuning</strong>, <strong>LoRA</strong>, <strong>RAG</strong>, <strong>RLHF</strong>, <strong>domain adaptation</strong>, <strong>distillation</strong>, <strong>quantization</strong>, and many other techniques. At first, they may sound like different names for the same thing.</p><p>But they are not.</p><p>They are different ways of solving different problems around AI models.</p><p>A simple way to understand this is:</p><blockquote><em>Fine-tuning is not one single technique. It is part of a larger family of methods used to adapt AI models for a specific purpose.</em></blockquote><p>Let’s break this down in a beginner-friendly way.</p><h3>Start with the idea of a foundation model</h3><p>A foundation model is a large AI model trained on a huge amount of general data.</p><p>Think of it like a very smart generalist. It may know about programming, history, business, science, writing, and many other topics. But that does not mean it is automatically perfect for your company, your product, your customers, or your domain.</p><p>For example, a general AI model may understand the concept of insurance. But it may not know your company’s insurance products, your internal policies, your claim process, or your preferred tone when replying to customers.</p><p>This is where model adaptation comes in. Model adaptation means making a general model more useful for a specific need.</p><p>That need could be:</p><pre>Understanding a domain better<br>Following instructions better<br>Responding in a specific style<br>Becoming safer and more helpful<br>Running faster and cheaper</pre><p>Different techniques solve different parts of this problem.</p><h3>1. Teaching the model domain knowledge</h3><p>Sometimes, the model does not need better manners or better formatting. It simply needs to understand a specific field better.</p><p>This is called <strong>domain adaptation</strong>. A domain can be anything like healthcare, law, finance, insurance, software engineering, or internal company knowledge.</p><p>There are two common ways to help a model with domain knowledge.</p><h4>Continued pre-training</h4><p>Continued pre-training means taking an already trained model and training it further using raw text from a specific domain. For example, imagine giving the model a large collection of legal documents, medical notes, or technical manuals.</p><p>The data <strong>does not need to be labeled as question-and-answer pairs</strong>. It can just be raw text. The model learns the language, patterns, terminology, and relationships inside that domain. The knowledge becomes part of the model’s internal weights.</p><h4>RAG</h4><p>RAG stands for <strong>Retrieval-Augmented Generation</strong>. Unlike continued pre-training, RAG does not put the knowledge inside the model. Instead, the model retrieves relevant documents at runtime and uses them to answer the question.</p><p>Think of it like an open-book exam. The model does not need to memorize everything. It can look up the right document before answering. RAG is often useful when information changes frequently or when you need answers grounded in source documents.</p><p>So the difference is:</p><pre>Continued pre-training → knowledge goes into the model<br>RAG → knowledge stays outside and is retrieved when needed</pre><h3>2. Teaching the model how to respond</h3><p>Sometimes the model already knows the topic, but its answers are not in the format, tone, or behavior you want.</p><p>This is where <strong>supervised fine-tuning</strong> and <strong>instruction tuning</strong> come in.</p><h4>Supervised Fine-Tuning</h4><p>Supervised Fine-Tuning, often called SFT, means training the model using examples.</p><p>Usually, these examples look like this:</p><pre>Prompt → Correct response</pre><p>For example:</p><pre>User question: How do I reset my password?<br>Ideal answer: Here are the steps to reset your password...</pre><p>By seeing many examples, the model learns how to respond in the expected way.</p><p>This is useful when you want a model to behave like a customer support assistant, coding assistant, writing assistant, or domain-specific chatbot.</p><h4>Instruction tuning</h4><p>Instruction tuning is a type of fine-tuning that teaches the model to follow instructions better.</p><p>For example:</p><pre>Summarize this in 3 bullet points<br>Rewrite this professionally<br>Classify this message as urgent or non-urgent<br>Generate JSON output using this schema</pre><p>The goal is not just to teach facts. The goal is to improve the model’s ability to understand and follow human instructions.</p><p>So the simple difference is:</p><pre>Domain adaptation teaches what the domain is about<br>SFT and instruction tuning teach how the model should respond</pre><h3>3. Teaching the model what humans prefer</h3><p>Two answers can both be technically correct, but one may still be better.</p><p>One answer may be clearer, safer, more polite, more helpful, or more aligned with what users expect.</p><p>This is where alignment techniques come in.</p><h4>RLHF</h4><p>RLHF stands for <strong>Reinforcement Learning from Human Feedback</strong>.</p><p>In simple terms, humans compare model responses and give feedback about which answer is better. The model then learns to produce responses that are more preferred by people.</p><h4>RLAIF</h4><p>RLAIF is similar, but instead of relying only on human feedback, AI-generated feedback is also used.</p><h4>DPO</h4><p>DPO stands for <strong>Direct Preference Optimization</strong>.</p><p>It is another way to train a model using preferred and rejected answers, but without the full complexity of reinforcement learning.</p><p>The beginner-friendly way to understand this category is:</p><blockquote><em>Alignment techniques teach the model what kind of answer humans prefer.</em></blockquote><p>This is less about learning new facts and more about improving behavior.</p><h3>4. Fine-tuning the model cheaply</h3><p>Large AI models can have billions of parameters.</p><p>Fully fine-tuning such models can be expensive because it may require a lot of compute, memory, and time.</p><p>That is why (PEFT)parameter-efficient fine-tuning techniques exist.</p><p>The idea is simple:</p><blockquote><em>Instead of updating the entire model, update only a small part of it.</em></blockquote><h4>LoRA</h4><p>LoRA stands for <strong>Low-Rank Adaptation</strong>.</p><p>It allows us to train small additional weight matrices while keeping the original model mostly unchanged.</p><p>This makes training cheaper and more efficient.</p><h4>QLoRA</h4><p>QLoRA is a more memory-efficient version of LoRA.</p><p>It combines LoRA with quantization, which reduces memory usage during training.</p><h4>Adapters</h4><p>Adapters are small trainable layers added to the model.</p><p>Instead of changing the entire model, we train these extra layers.</p><h4>Prompt tuning and prefix tuning</h4><p>These methods train small prompt-like vectors that guide the model’s behavior.</p><p>They are another lightweight way to adapt a model without full fine-tuning.</p><p>The key idea is:</p><pre>Full fine-tuning → update many model weights<br>LoRA / adapters / prompt tuning → update only small trainable parts</pre><p>So LoRA is not the goal by itself.</p><p>LoRA is a cheaper way to achieve adaptation.</p><h3>5. Making models smaller and faster</h3><p>Sometimes the main problem is not knowledge or behavior. Sometimes the problem is production efficiency. You may want the model to be:</p><pre>Cheaper to run<br>Faster to respond<br>Smaller to deploy<br>Easier to use on limited hardware</pre><p>This is where model optimization techniques come in.</p><h4>Distillation</h4><p>Knowledge distillation means training a smaller model to imitate a larger model. The larger model is usually called the teacher. The smaller model is called the student.</p><p>The goal is to transfer useful behaviour from the large model into a smaller, faster model.</p><h4>Quantization</h4><p>Quantization reduces the precision of the numbers used inside the model. For example, instead of storing model weights in a high-precision format, we store them in a smaller format.</p><p>This reduces memory usage and can improve speed.</p><h4>Pruning</h4><p>Pruning removes parts of the model that are less useful. The idea is to make the model smaller while trying to keep most of its performance.</p><p>These techniques are not always considered fine-tuning in the strict sense. But they are closely related because they help prepare models for real-world use.</p><h3>A simple mental model</h3><p>Instead of memorizing every technique, first ask what problem you are trying to solve.</p><pre>Need domain knowledge?<br>→ Continued pre-training or RAG<br><br>Need better response style?<br>→ Supervised fine-tuning or instruction tuning<br><br>Need safer and more preferred answers?<br>→ RLHF, RLAIF, or DPO<br><br>Need cheaper fine-tuning?<br>→ LoRA, QLoRA, adapters, prompt tuning<br><br>Need smaller and faster deployment?<br>→ Distillation, quantization, pruning</pre><p>This makes the landscape much easier to understand.</p><h3>Final takeaway</h3><p>Fine-tuning is part of a broader set of techniques used to adapt, align, and optimize AI models.</p><p>Some methods teach the model new domain knowledge.<br>Some methods teach the model how to respond.<br>Some methods align the model with human preferences.<br>Some methods reduce training cost.<br>Some methods make the model smaller and faster for production.</p><p>Once you understand the purpose behind each technique, the AI model adaptation landscape becomes much easier to navigate.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9aacc48f906f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Don’t Need to Say You’re Happy If You Actually Are]]></title>
            <link>https://medium.com/@mininduhewawasam/you-dont-need-to-say-you-re-happy-if-you-actually-are-dcf11ed998a4?source=rss-2adc95ec7e89------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcf11ed998a4</guid>
            <dc:creator><![CDATA[Minindu Hewawasam]]></dc:creator>
            <pubDate>Sun, 22 Feb 2026 05:37:05 GMT</pubDate>
            <atom:updated>2026-02-22T05:37:05.837Z</atom:updated>
            <content:encoded><![CDATA[<p>While reading <strong>The Subtle Art of Not Giving a F*ck</strong> by <strong>Mark Manson</strong>, I came across a line that didn’t hit me immediately. It wasn’t dramatic or clever on first read. In fact, I almost moved past it.</p><blockquote><strong><em>“No truly happy person feels the need to stand in front of a mirror and recite that she’s happy. She just is.”</em></strong></blockquote><p>At first, it sounded obvious. Almost too obvious.<br>Of course, a happy person doesn’t need to say they’re happy. So what’s the point?</p><p>But the sentence didn’t leave me alone.</p><p>It sat somewhere in the back of my mind, resurfacing at odd moments. And slowly — uncomfortably — it started to make more sense.</p><p>I think what caught me wasn’t the idea of happiness itself, but the <em>need to declare it</em>. The need to say it out loud. To ourselves. To others. Sometimes repeatedly.</p><p>When something is truly present, we rarely feel the urge to announce it. We don’t remind ourselves that we’re breathing. We don’t stand in front of a mirror and say, <em>“I am balanced.”</em> These things are felt, not narrated. They exist quietly in the background of our lives.</p><p>Happiness, in that sense, might be similar.<br>When it’s real, it doesn’t ask for attention.</p><p>That made me wonder about the moments when we <em>do</em> feel the need to say it. When <em>“I’m happy”</em> becomes a sentence we repeat — to friends, on social media, or internally, like a mantra.</p><p>Not always, but often, those declarations feel less like expressions and more like reassurances.</p><p>Almost as if we’re trying to convince someone.<br>And sometimes, that someone is ourselves.</p><p>This isn’t a criticism. It’s not even a conclusion. It’s just an observation.</p><p>We all do it. I’ve done it.</p><p>There are phases in life where saying <em>“I’m happy”</em> feels necessary, like holding something in place so it doesn’t slip away. Maybe it’s a way of creating stability when things feel uncertain. Maybe it’s a way of covering discomfort we don’t yet know how to face.</p><p>And to be fair, affirmations and positive self-talk aren’t inherently bad. They can interrupt negative spirals. They can create momentum. They can help us through moments when confidence or hope feels out of reach.</p><p>But there’s a subtle difference between using words to <em>support</em> ourselves and using them to <em>avoid</em> ourselves.</p><p>At some point, repeating <em>“I’m happy”</em> can start to replace a more honest question:</p><p><em>Am I actually okay?</em><br>Or even more simply, <em>What am I feeling right now?</em></p><p>The quote started to feel less like a statement about happiness and more like a statement about honesty. About the difference between living something and performing it. About how certain states of being don’t need proof — not because they’re perfect, but because they’re grounded.</p><p>The kind of happiness Manson seems to be pointing at isn’t loud or euphoric. It’s not constant. It doesn’t look good on a caption.</p><p>It’s quieter than that.<br>More stable.<br>Less interested in being seen.</p><p>Maybe it’s not even happiness in the way we usually define it. Maybe it’s closer to alignment. Or acceptance. Or the absence of internal resistance.</p><p>When life is aligned — when what you value and how you live aren’t constantly at odds — there’s less need to label the feeling. You’re not chasing happiness or declaring it. You’re just moving through your days without the urge to justify your emotional state.</p><p>Reading that quote changed the way I relate to the idea of being happy.</p><p>I’ve noticed I’m less interested now in asking myself whether I’m happy, and more interested in whether I’m being honest. Honest about what’s working, what isn’t, and what I might be avoiding by trying to stay positive.</p><p>There’s something relieving about letting happiness be quieter.</p><p>About not needing to name it, prove it, or hold it up like evidence. About allowing neutral days, uncertain days, even difficult days, without immediately trying to override them with a statement.</p><p>Maybe the most meaningful parts of our lives don’t announce themselves. Maybe they don’t need mirrors or mantras. Maybe they just show up — in how we move, how we choose, how we respond when no one is watching.</p><p>And maybe happiness, when it’s real, doesn’t need to be said at all.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcf11ed998a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are We Motivating Engineers the Wrong Way?]]></title>
            <link>https://medium.com/@mininduhewawasam/are-we-motivating-engineers-the-wrong-way-292e641e2f66?source=rss-2adc95ec7e89------2</link>
            <guid isPermaLink="false">https://medium.com/p/292e641e2f66</guid>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[organizational-culture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[engineering-mangement]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Minindu Hewawasam]]></dc:creator>
            <pubDate>Thu, 19 Feb 2026 08:38:46 GMT</pubDate>
            <atom:updated>2026-02-19T08:38:46.295Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Mvrx80Q2zZ13XwTtl8jCg.png" /></figure><h4>A Reflection on Technical Leadership and Sustainable Engineering</h4><p>I’ve been thinking about something recently.</p><p>We talk a lot about engineering velocity, delivery cadence, performance reviews, OKRs, compensation bands, and promotion cycles — all the structural elements of modern tech organisations. And objectively speaking, many of these systems are well designed. They are optimised. Measurable. Efficient.</p><p>Yet even in well-compensated, technically strong teams, we still see burnout.<br>We see disengagement.<br>We see quality drop when pressure increases.<br>We see engineers mentally check out while still technically “performing.”</p><p>So I started wondering:</p><p>Is the issue really about skill, tooling, or process?<br>Or could it be about how we motivate engineers in the first place?</p><h3>The Incentive Architecture of Engineering Teams</h3><p>Most engineering organizations are built around clear external motivators.</p><p>We reward:</p><ul><li>Shipping features</li><li>Closing tickets</li><li>Meeting sprint commitments</li><li>Improving velocity metrics</li><li>Delivering on roadmap milestones</li></ul><p>We measure:</p><ul><li>Throughput</li><li>Cycle time</li><li>Bug count</li><li>Deployment frequency</li><li>SLA compliance</li></ul><p>None of this is wrong. In fact, it’s necessary.</p><p>But I’ve started to question something more subtle.</p><p>Are these systems producing commitment — or compliance?</p><p>There’s a difference between:</p><blockquote><em>“I need to finish this ticket.”</em></blockquote><p>and</p><blockquote><em>“I care about how this system behaves in production.”</em></blockquote><p>One is obligation-driven.<br>The other is belief-driven.</p><p>Both get code written. But they don’t produce the same long-term outcome.</p><h3>The Golden Circle, Through an Engineering Lens</h3><p>Simon Sinek’s Golden Circle suggests that organisations operate at three levels:</p><ul><li><strong>WHY</strong> — the belief, the purpose</li><li><strong>HOW</strong> — the principles and methods</li><li><strong>WHAT</strong> — the tangible output</li></ul><p>In engineering terms, this translates surprisingly well.</p><p><strong>WHAT</strong> is the most visible layer:</p><ul><li>APIs</li><li>Microservices</li><li>Features</li><li>Infrastructure</li></ul><p><strong>HOW</strong> is our engineering discipline:</p><ul><li>Code reviews</li><li>Testing strategy</li><li>CI/CD pipelines</li><li>Architectural patterns</li><li>DevOps culture</li></ul><p>But <strong>WHY</strong> is something we don’t always articulate clearly:</p><ul><li>Why does this system exist?</li><li>Why does reliability matter here?</li><li>Why should performance be a priority?</li><li>Why does this product deserve careful engineering?</li></ul><p>And I’m not sure we ask that layer often enough.</p><h3>Sustainable Engineering Is Invisible</h3><p>When we talk about sustainable engineering, we usually mean:</p><ul><li>Maintainable code</li><li>Clear abstractions</li><li>Scalable architecture</li><li>Responsible refactoring</li><li>Thoughtful trade-offs</li></ul><p>But sustainability in software isn’t glamorous.</p><p>Refactoring rarely earns applause.<br>Writing documentation doesn’t trend on dashboards.<br>Preventing a future outage doesn’t show up in this sprint’s metrics.</p><p>If engineers are motivated primarily by visible rewards, what happens to invisible work?</p><p>This is where intrinsic motivation quietly becomes important.</p><p>An engineer who believes in the system — who feels aligned with its purpose — is more likely to:</p><ul><li>Improve tests without being asked</li><li>Revisit fragile code paths</li><li>Push back against poor architectural shortcuts</li><li>Care about user impact beyond feature checklists</li></ul><p>Not because there’s a bonus attached.</p><p>But because it feels wrong not to.</p><p>That’s a different kind of energy.</p><h3>Compliance vs Craftsmanship</h3><p>I’ve noticed something in myself over the years.</p><p>When I’m aligned with the purpose of what I’m building, I think differently. I ask better questions. I’m more patient with complexity. I’m more protective of long-term integrity.</p><p>When I’m just trying to deliver a milestone, I optimize for speed. I reduce scope. I compromise earlier.</p><p>Both modes are useful at times.</p><p>But only one of them consistently produces craftsmanship.</p><p>And craftsmanship is what keeps systems healthy five years later.</p><p>So I’m starting to wonder:</p><p>Are we designing engineering cultures that reward craftsmanship — or just throughput?</p><h3>Technical Debt Might Be a Motivation Problem</h3><p>We often talk about technical debt as a purely architectural issue. But maybe there’s a human layer to it.</p><p>When engineers stop believing in the WHY behind a system, technical debt accumulates faster.</p><p>Shortcuts become easier to justify.<br>Refactors feel unnecessary.<br>Quality becomes negotiable.</p><p>If people feel emotionally disconnected from the mission, the code starts reflecting that disconnection.</p><p>So maybe sustainable architecture isn’t only about good patterns and clean boundaries.</p><p>Maybe it’s also about shared belief.</p><h3>The Limits of Extrinsic Motivation in Knowledge Work</h3><p>In industrial systems, external incentives can drive predictable output. But knowledge work is different.</p><p>Engineering requires:</p><ul><li>Judgment</li><li>Creativity</li><li>Long-term thinking</li><li>Intellectual honesty</li><li>Care under uncertainty</li></ul><p>These aren’t easily forced by metrics.</p><p>You can measure velocity.<br>You can measure bug counts.<br>But you can’t measure whether someone truly cares about the system they’re shaping.</p><p>And caring seems to be what determines whether a codebase becomes resilient — or fragile.</p><h3>Leadership Communication: What Do We Start With?</h3><p>In many leadership conversations, we begin with the WHAT:</p><ul><li>“We need to increase throughput.”</li><li>“We must reduce latency.”</li><li>“We need to ship faster this quarter.”</li></ul><p>Sometimes we talk about HOW:</p><ul><li>“Let’s improve our CI pipeline.”</li><li>“Let’s adopt better review standards.”</li></ul><p>But how often do we begin with WHY?</p><ul><li>Why does this product matter?</li><li>Why does reliability here protect real users?</li><li>Why does this architecture decision influence trust?</li></ul><p>Does starting with WHY change how engineers interpret trade-offs?</p><p>I don’t have a definitive answer.</p><p>But I’ve noticed that when purpose is clear, debates become healthier. Trade-offs become contextual. Ownership feels distributed rather than assigned.</p><h3>Scaling Motivation</h3><p>Extrinsic systems scale in obvious ways:</p><ul><li>Bigger bonuses</li><li>Clearer KPIs</li><li>Tighter review cycles</li></ul><p>Intrinsic motivation scales differently.</p><p>It spreads through clarity.<br>Through belief alignment.<br>Through engineers seeing their work as meaningful rather than transactional.</p><p>And belief seems to compound.</p><h3>An Open Question</h3><p>I’m not arguing that incentives are bad.<br>Or that metrics should disappear.<br>Or that purpose alone sustains teams.</p><p>Engineering leadership is more complex than that.</p><p>But I am starting to wonder whether sustainable engineering is less about adding stricter process — and more about clarifying why we build what we build.</p><p>Do our engineers know the deeper purpose behind the systems they maintain?</p><p>Do we reward integrity as much as delivery?</p><p>Are we designing engineering cultures around incentives…<br>or around alignment?</p><p>I don’t have a final conclusion.</p><p>But I suspect that the long-term health of our systems — and our teams — might depend on how we answer those questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=292e641e2f66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Technical Debt Isn’t Your Enemy — It’s a Tool You’re Probably Misusing]]></title>
            <link>https://medium.com/@mininduhewawasam/technical-debt-isnt-your-enemy-it-s-a-tool-you-re-probably-misusing-f468e87833d8?source=rss-2adc95ec7e89------2</link>
            <guid isPermaLink="false">https://medium.com/p/f468e87833d8</guid>
            <dc:creator><![CDATA[Minindu Hewawasam]]></dc:creator>
            <pubDate>Fri, 16 Jan 2026 08:11:34 GMT</pubDate>
            <atom:updated>2026-01-16T08:11:34.469Z</atom:updated>
            <content:encoded><![CDATA[<h3>Technical Debt Isn’t Your Enemy — It’s a Tool You’re Probably Misusing</h3><blockquote>Technical debt isn’t inherently bad. Despite its reputation, elite teams actually leverage it intentionally</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X8Kp-OY8q7FafYHbyhTY3Q.png" /></figure><p><em>The best software teams don’t avoid technical debt. They take it on deliberately, use it to ship faster, and pay it down before it becomes a problem. They treat it like a strategic instrument rather than a secret hiding in the codebase.</em></p><p><em>The teams that struggle? They either accumulate debt accidentally and ignore it, or they’re so afraid of it that they over-engineer everything and ship nothing.</em></p><p><em>There’s a middle path. And honestly? That’s where sustainable engineering lives.</em></p><h4>So What Is Technical Debt, Really?</h4><p>Let’s get clear on this: technical debt is the gap between your software system’s current design and the design you need it to have so you can continue delivering value.</p><p>Notice what’s missing from that definition? The word “bad.”</p><p>Think about it like financial debt. When you take out a loan to buy a house or start a business, you’re making a calculated bet. You’re borrowing against future earnings for present opportunity. Technical debt works the same way — you’re borrowing against future development time to gain speed today.</p><p>And just like financial debt, it’s not inherently harmful. What matters is whether you took it on intentionally, whether you understand the interest rate, and whether you have a plan to pay it back.</p><h4>Two Kinds of Debt (and They’re Very Different)</h4><p>Here’s where things get interesting. Not all technical debt is created equal, and understanding this distinction might change how you think about your codebase.</p><p><strong>Strategic debt</strong> is a deliberate tradeoff. Your team knows the code isn’t ideal, but you’re shipping anyway because getting this feature to users this week matters more than architectural elegance. You document the shortcut. You create a ticket. You plan to revisit it. This is debt as a tool.</p><p><strong>Accidental debt</strong>? That’s different. It’s what happens when teams cut corners without realizing it, skip tests because they’re rushing, or let critical knowledge live only in one engineer’s head. Nobody planned for this debt. Nobody’s tracking it. It just quietly accumulates in the dark corners of your codebase.</p><p>Here’s the thing: elite teams take on the first kind intentionally while working hard to minimize the second. Average teams often do the opposite — they refuse to make conscious tradeoffs while letting accidental complexity pile up everywhere.</p><p>Which pattern sounds more familiar to you?</p><h4>Why Borrowing Sometimes Makes Sense</h4><p>Let’s be honest: shipping matters more than architectural purity.</p><p>An MVP with known shortcuts that gets real user feedback in two weeks? That’s often worth more than a beautifully designed system that launches in three months. Why? Because you might be solving the wrong problem entirely. Time has value, and sometimes borrowing is the smart move.</p><p>Think about a startup racing to validate product-market fit. Every week of delay is runway burned. Taking on debt to test a hypothesis quickly isn’t reckless — it’s rational. The same goes for established teams racing a competitor to market or responding to urgent customer needs.</p><p>The key word here is “intentional.” You’re not ignoring quality. You’re making an explicit tradeoff with eyes wide open, accepting that you’ll need to come back and clean things up once you’ve validated the approach.</p><h4>The Danger Zone: Compound Interest Is Not Optional</h4><p>Now, here’s where we need to have a serious conversation. Because there’s something about technical debt that too many teams learn the hard way.</p><p>Technical debt always compounds. Always.</p><p>This isn’t a risk. It’s not a possibility. It’s a guarantee. Every piece of debt you carry is quietly accumulating interest, whether you’re paying attention or not.</p><p>That hardcoded value? It becomes a bug when requirements change. That missing abstraction? You’re now copying and pasting the same logic across five files — and updating all five every time something changes. That undocumented service? It’s a black box that only one engineer understands, and guess what? She just gave her two weeks’ notice.</p><p>And here’s the brutal part: the interest rate accelerates over time. Early debt might cost you a few extra hours per feature. Left unchecked, that same debt starts costing you days. Then weeks. Developer velocity drops. Simple changes become odysseys. Bugs multiply because the code is too tangled to reason about. Onboarding new team members stretches from weeks to months.</p><p>Eventually, you hit a tipping point where the team spends more time fighting the codebase than building features.</p><p>This is how good teams become stuck teams. Not through one catastrophic decision, but through a thousand small debts quietly compounding until the interest payments consume everything.</p><p>The math is unforgiving. Ignore it at your own risk.</p><h4>How the Best Teams Stay Ahead</h4><p>So what do sustainable teams actually do differently?</p><p>They make debt visible. They track it explicitly in their backlog, estimate its impact, and talk about it in planning meetings. You can’t manage what you can’t see, right?</p><p>They allocate time consistently. Whether it’s dedicating 20% of each sprint to refactoring, scheduling regular cleanup sprints, or simply following the boy scout rule — leave the code better than you found it — they build repayment into their rhythm. They don’t hope they’ll find time later. They make time now.</p><p>They connect debt to business outcomes. Instead of framing refactoring as “engineering wants to clean up code,” they say things like “this technical debt is slowing feature delivery by 30%” or “this architectural issue caused two customer incidents last month.” That changes the conversation entirely.</p><p>And sometimes? They know when to declare bankruptcy. When a system is so far gone that incremental fixes won’t help, the best teams recognize it’s time to rewrite rather than continuing to pour effort into a sinking ship.</p><h4>Let’s Talk About Sustainable Engineering</h4><p>Here’s what I keep coming back to: technical debt isn’t something to eliminate. It’s something to manage.</p><p>The best teams borrow strategically when speed matters, track what they owe, and pay it down consistently so they can keep moving fast. They understand that sustainable velocity doesn’t come from avoiding all debt — it comes from never letting it compound beyond control.</p><p>The goal isn’t a pristine codebase. The goal is a team that can continue shipping value to users next month, next quarter, and next year.</p><p>So here’s my question for you: How is your team managing its debt right now? Are you borrowing intentionally, or is interest quietly piling up in the background?</p><p>I’d love to hear what’s working for you — and what isn’t.</p><p>Borrow wisely. Pay it back. Keep shipping.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f468e87833d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons I Learned and Gained as a Junior Software Engineer: A Two-Year Reflection]]></title>
            <link>https://medium.com/@mininduhewawasam/lessons-i-learned-and-gained-as-a-junior-software-engineer-a-two-year-reflection-2ce54b5fb02f?source=rss-2adc95ec7e89------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ce54b5fb02f</guid>
            <dc:creator><![CDATA[Minindu Hewawasam]]></dc:creator>
            <pubDate>Sat, 06 Jan 2024 06:15:10 GMT</pubDate>
            <atom:updated>2024-01-06T06:15:10.038Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*5c0syeu-1IjqP74J9cDJ4g.jpeg" /></figure><p>Embarking on the journey to becoming a proficient developer extends beyond mere mastery of coding languages. It involves delving deep into the art of transforming business requirements into sustainable working solutions, ultimately contributing to the organization’s revenue. As I reflect on the pivotal lessons learned during my two-year stint as a junior developer, I am eager to share insights into the technical and soft skills that have not only propelled my career but are also essential for the growth of any aspiring developer.</p><h3>Mastering Technical Skills</h3><h4><strong>Software Craftmanship Skills</strong></h4><p>As a junior developer, prioritizing software craftsmanship is non-negotiable. It goes beyond knowing multiple programming languages/ frameworks; it’s about writing impeccable code. Some key areas to focus on include:</p><ul><li><strong>Adopting Clean Code Concepts:</strong> Embrace clarity, simplicity and aesthetics in your abstract/concrete implementations. Understand the significance of writing code that is easy to read and maintain. <br><a href="https://www.google.lk/books/edition/Clean_Code/hjEFCAAAQBAJ?hl=en"><em>Clean Code: A Handbook of Agile Software Craftsmanship</em></a></li><li><strong>Solid Principles: </strong>Grasp the SOLID principles for building robust and scalable software solutions.</li><li><strong>Design Patterns:</strong> Explore and implement design patterns to solve common design problems efficiently.<br><a href="https://www.google.lk/books/edition/Design_Patterns/_XDFAAAACAAJ?hl=en"><em>Design Patterns: Elements of Reusable Object-Oriented Software</em></a><br><a href="https://refactoring.guru/design-patterns/book"><em>Dive Into DESIGN PATTERNS</em></a><em> (a much simpler version of above book)</em></li><li><strong>Test Driven Development (TDD):</strong> Adopt TDD practices to ensure code reliability and functionality from the outset. If your organization is not in the practice of TDD, you can just ask and put some effort into taking the initiative.</li><li><strong>Software Code Refactoring:</strong> Learn the art of refining code continuously. A well-refactored codebase is the foundation for long-term maintainability. it will help to reduce lots of future technical debts and will help improve the development experience significantly. (You can’t refactor your code properly if you don’t have a test suite with sufficient code coverage)<br><a href="https://refactoring.guru/refactoring/course"><em>Dive Into REFACTORING</em></a></li></ul><h4><strong>Reading Codes</strong></h4><p>Improve your coding skills by reading codes as you write them. Dive into:</p><ul><li><strong>Codes Written by Senior Developers:</strong> Gain insights into advanced coding patterns and best practices.</li><li><strong>Internal Packages/Modules:</strong> Understand the core features and coding patterns of the tools you are using. This knowledge enhances your problem-solving abilities.</li></ul><h4><strong>Software Documentation</strong></h4><p>Comprehensive documentation is often overlooked but is critical for effective collaboration and future reference. Document your code to ensure clarity for both yourself and your team.</p><h3>Developing Soft Skills</h3><h4>Stakeholder Communication</h4><p>Communication transcends language skills. As a junior developer, develop:</p><ul><li><strong>Stakeholder Communication Skills:</strong> Articulate technical concepts to non-technical stakeholders effectively. Clear communication fosters collaboration and understanding. This involves conflict resolution, crisis response, change management..etc...</li></ul><h4>Leadership Skills</h4><p>Strive to be your own leader. Take ownership of your work, demonstrate initiative, and cultivate. Proactively contribute to team goals and inspire those around you</p><blockquote>Leadership is not a title, it’s a mindset.</blockquote><h3>Always collaborate with your team: The Heart of Development</h3><h4><strong>Seek and Accept Feedback</strong></h4><p>Always seek <strong>feedback</strong>, especially from senior developers. <strong>Constructive criticism</strong> is a powerful tool for growth. Embrace it with humility and a desire to improve.</p><h4>Don’t Hesitate to Ask for Help</h4><p>While independence is crucial, it’s equally important to know when to ask for help. Always make sure that you’ve conducted preliminary <strong>background research</strong> and have invested sufficient <strong>self effort</strong>, before reaching out for help. <strong>Interdependence</strong> is a fundamental aspect of successful collaboration in software teams.</p><h4>Always Adhere to the Best Practices/Conventions of the Organization</h4><p>Align with your team’s <strong>best practices</strong> and <strong>conventions</strong>. Avoid reinventing them but strive to enhance existing practices. Consistency in coding practices fosters a smooth collaborative workflow.</p><h3>Mastering Your Current Stack</h3><h4>Choosing Your Pathway</h4><p>Focus on mastering your current stack before branching out:</p><ul><li><strong>Front End, Back End, DevOps:</strong> Choose your pathway strategically. Become an expert in your chosen field before considering diversification. Being a full-stack developer should not mean becoming an entire IT department.</li><li><strong>Confidence in Your Why: </strong>Always be confident about your actions. Understand the <strong>‘why’ </strong>behind your work; this confidence will be your guiding light.<br><a href="https://simonsinek.com/books/start-with-why/"><em>Start with WHY</em></a><em> by Simon Sinek</em></li></ul><h4>Continuous Learning</h4><p>Stay updated by reading engineering <strong>blogs</strong> and listening to tech<strong> podcasts</strong> from industry giants like Netflix, Uber, and Facebook. Gain insights into their best practices, challenges, and innovations.</p><ul><li><a href="https://betterprogramming.pub/breaking-out-of-the-tutorial-trap-be973e4ed7aa"><strong>Don’t fall into the tutorial trap</strong></a></li><li><strong>Always give priority to follow the documentation</strong></li></ul><h4>Hobby Projects</h4><p>Build confidence by working on <strong>hobby projects</strong>. Maintain a <strong>portfolio</strong> and a <strong>GitHub</strong> profile showcasing your projects. This not only serves as a testament to your skills but also provides a tangible record of your growth as a developer.</p><h3>Using Tools and Technologies</h3><p>Before adopting advanced versions, ensure familiarity with the basics:</p><ul><li><strong>Using Tools and Technologies:</strong> Understand the <strong>vanilla versions</strong> first. This knowledge provides insights into the inner workings, making you a more versatile developer. Then adopt the advanced version to make your work efficient.</li></ul><p>The journey from a junior developer to a proficient coder is marked by continuous learning. By focusing on technical excellence, soft skills development, seeking feedback, and mastering your current stack, you set yourself on a trajectory towards success. Remember, the journey is as important as the destination, and each lesson learned is a step towards becoming a seasoned and accomplished developer.</p><blockquote>“If you focus on the process and able to enjoy its negative aspects rather than the outcome, you’ll always have promising results”.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ce54b5fb02f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>