<?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 Uzzwalpreet Kaur on Medium]]></title>
        <description><![CDATA[Stories by Uzzwalpreet Kaur on Medium]]></description>
        <link>https://medium.com/@uzzwalpreet?source=rss-68a6e5b00e26------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nmLHIlETT_qVgtd7obkFng.jpeg</url>
            <title>Stories by Uzzwalpreet Kaur on Medium</title>
            <link>https://medium.com/@uzzwalpreet?source=rss-68a6e5b00e26------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:17:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@uzzwalpreet/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[How to be a Pragmatic Programmer — Part 01: A Pragmatic Philosophy]]></title>
            <link>https://medium.com/@uzzwalpreet/how-to-be-a-pragmatic-programmer-part-01-a-pragmatic-philosophy-e9e81f0fe704?source=rss-68a6e5b00e26------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9e81f0fe704</guid>
            <dc:creator><![CDATA[Uzzwalpreet Kaur]]></dc:creator>
            <pubDate>Wed, 17 Jul 2024 10:55:38 GMT</pubDate>
            <atom:updated>2024-07-17T11:06:31.877Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to be a Pragmatic Programmer — Part 01: A Pragmatic Philosophy</h3><p>Back in 2020, when COVID-19 had just hit and tech companies were hiring crazily, I began my first full-time job as a fresh graduate — remotely. Everything was new to me: the corporate world — by that, I mean team calls, the corporate jargon — EOD, bandwidth, stand-up calls — I just used to sit and attend. Well, let’s not stray too far from the topic at hand.</p><p>When I started working remotely in a large firm dealing with an extensive codebase, there were strict guidelines one needed to follow. I had some great mentors who guided me along the way, from how to push code through Git Bash (yes, I didn’t know how to use it back then) to creating pull requests and following a branching strategy for maintaining updated code. Adhering to these guidelines kept the codebase pristine and manageable.</p><p>But I wanted to excel at my job; that’s the only thing I had going on. So, I started searching on the web — “<em>how to code like a pro</em>” and “<em>how to excel as a developer</em>”, and that’s when I stumbled upon the book <strong>“</strong><a href="https://www.amazon.com/Pragmatic-Programmer-Journeyman-Master/dp/020161622X"><strong>The Pragmatic Programmer” by David Thomas &amp; Andrew Hunt</strong></a><strong> </strong>and hands down, it has been one of the greatest guidebooks for my profession, offering timeless advice that has positively influenced my career. In this series, I will highlight some key takeaways from this book.</p><p>But what does the word <em>pragmatic</em> mean?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wAMEyTXWEDc2Nlz6vboLGw.png" /></figure><p>Before starting, David &amp; Andrew share <em>two basic characteristics</em> that all pragmatic programmers share as tips:</p><p><strong><em>Tip 1: Care About Your Craft</em></strong>: There is no point in developing software unless you care about it.</p><p><strong><em>Tip 2: Think! About Your Work: </em></strong>Think!, is the Pragmatic Programmer’s mantra. Turn off the autopilot and take control. Constantly critique and appraise your work.</p><h4><strong>1. The Cat Ate My Source Code</strong></h4><figure><img alt="This image is AI-generated" src="https://cdn-images-1.medium.com/max/512/1*Y2tCygLEjAZi0mdqZKh_Ug.jpeg" /><figcaption>This image is AI-generated</figcaption></figure><p>The pragmatic philosophy is taking responsibility for yourself and your actions. We can be proud of our abilities, but we must own up to our ignorance and mistakes or errors. It’s not the pleasent thing in programming, but mistakes happens even on the best of’ projects.</p><p>When you make a mistake (as we all do) or an error in judgment, admit it and try to offer options.</p><p><strong><em>Tip 3: Provide Options, Don’t Make Lame Excuses</em></strong></p><p>Before breaking the news that something is broken or something can’t be done, stop for a moment. Listen to yourself. Talk to the rubber duck or the cat. Does your excuse sound reasonable?</p><p>Run the conversation in mind; what will the other person likely ask? “Did you try this…”, or “How about doing this…?” How will you respond? So before approaching them, is there anything else we can try?</p><h4><strong>2. Software Entropy</strong></h4><p><strong>Broken window analogy</strong>:</p><p>One broken window, left unrepaired for any substantial length of time, instills in the inhabitants of the building a sense of abandonment — a sense that powers that we don’t care about the building. So another window gets broken. People start littering. Graffiti appears. Serious structural damage begins. In a relatively short span of time, the building becomes damaged beyond the owner’s desire to fix it, and the sense of abandonment becomes reality.</p><p><strong><em>Tip 4: Don’t Live with Broken Windows</em></strong></p><p>Don’t leave “broken windows” (<em>bad designs, wrong decisions, or poor code</em>) unrepaired. Fix each one as soon as it is discovered. If there is insufficient time to fix it properly, <em>then board it up</em>. Take some action to prevent further damage and to show that you are on top of the situation.</p><h4><strong>3. Stone Soup and Boiled Frogs</strong></h4><p><strong>The Stone Soup Analogy:</strong></p><p>Three soldiers were returning from the war and were very hungry. They saw a village ahead, and they rejoiced, knowing they would get some real meal from the villagers. But when they got there, they noticed the doors locked and windows shut. You see, war had left villagers short of food, and little what they had, they hoarded it.</p><p>Undeterred, the soldiers boiled a pot of water and carefully placed three stones into it. The amazed villagers came out to watch.</p><p>“<em>This is a stone soup</em>” the soldier explained. <em>“Is that all you put in?” </em>asked the villager. “<em>Absolutely although some say it tastes even better with a few carrots…”</em> A villager ran off, returning in no time with a basket of carrots from his hoard.</p><p>A couple of minutes later, the villagers again asked “<em>Is that it?</em>”</p><p>“<em>Well</em>,” said the soldiers, “<em>a couple of potatoes give it body</em>.” Off ran another villager.</p><p>Over the next hour, the soldiers listed more ingredients that would enhance the soup. Each time a different villager would run off to raid their personal stores.</p><p>Eventually, they had produced a large pot of steaming soup. The soldiers removed the stones, and they sat down with the entire village to enjoy the first square meal any of them had eaten in months.</p><p><strong><em>Tip 5: Be a Catalyst for Change</em></strong></p><p>Every now and then, you might want to emulate the soldiers.</p><p>Work out what you can reasonably ask for. Develop it well. Once you’ve got it, show people and let them marvel. Then say, “Of course, it would be better if we added….”</p><p><em>People find it easier to join an ongoing success. </em>Show them the glimpse of the future and you’ll get them to rally around<em>.</em></p><p><strong>The Boiled Frog Analogy:</strong></p><p>Most software disasters start out too small to notice, and most project overruns happen a day at a time. While patch after patch gets added to a piece of code until there’s nothing of the original left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*3nDzLKbqof9YphQOoEZ18g.jpeg" /><figcaption>This image is AI-generated</figcaption></figure><p>If you take a frog and drop it into the boiling water, it will jump back out again. However, if you place the frog in a pot of cold water and then gradually heat it, the frog won’t notice the slow increase in temperature and will stay put until cooked.</p><p><strong><em>Tip 6: Remember the Big Picture</em></strong></p><p>Don’t be like a fabled frog. Keep an eye on the big picture. Constantly review whats happening around you, not just what you are personally doing.</p><p>That’s it for now. I hope you find something valuable from it. Please comment down below for any feedback and stay tuned for part 2. Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9e81f0fe704" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Moving your local project to a remote repository using git CLI]]></title>
            <link>https://medium.com/@uzzwalpreet/moving-your-local-project-to-a-remote-repository-using-git-cli-435c16003ec?source=rss-68a6e5b00e26------2</link>
            <guid isPermaLink="false">https://medium.com/p/435c16003ec</guid>
            <dc:creator><![CDATA[Uzzwalpreet Kaur]]></dc:creator>
            <pubDate>Sun, 16 Oct 2022 18:30:14 GMT</pubDate>
            <atom:updated>2022-10-16T18:30:14.664Z</atom:updated>
            <content:encoded><![CDATA[<p>If you have an existing local project which you want to move to the cloud i.e the remote GitHub repository, then you are at the right place. You can achieve this by below 5 simple steps.</p><p>Note: You must have git installed and a GitHub account created before.</p><p>Step 1. Initializing the local repository as a git repository<strong> — <em>git init</em></strong></p><p>Navigate to your workspace/directory where you have your local project. Open the terminal and hit <strong><em>git status</em>, </strong>you will see a warning saying this is not a git repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PeHvYjhqzUOjhBWe11Othw.png" /></figure><p>Now execute the cmd <strong><em>git init</em></strong>, this will initialize your local repository to a git repository. Furthermore, if you check your folder you will be able to see a <strong>.git</strong> folder added to it, usually, this folder is hidden.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3MGYikLnpzfvWfJUp34JkQ.png" /><figcaption>git init</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J5K9A2d67mvbgRs5yukE8Q.png" /><figcaption>.git folder</figcaption></figure><p>Now if you check the status again, using the <em>git status</em> command you won’t see the warning, but some additional message.</p><p>Step 2. Add your files to your new local repository — <strong><em>git add .</em></strong></p><p>This will stage our files for our first commit. You can again use the git status cmd to view the status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0qi9BpAIpbt4NNvPC3fzLw.png" /><figcaption>git add .</figcaption></figure><p>Step 3. Commit the files that you’ve staged in your local repository — <strong><em>git commit -m &lt;&lt;Commit Message&gt;&gt;</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8aLx74GYLcxuvmJ90Gi0Wg.png" /><figcaption>git commit</figcaption></figure><p>Step 4: Link your local repository to your remote repository — <strong><em>git remote add origin &lt;url&gt;</em></strong></p><p>For this, we must have a repository created in GitHub. Go to your repository section and click on new or click on the existing repository that you have. Now copy the URL. Execute the below command. Additionally, you can check the remote using the command <strong><em>git remote - v</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*inhO47djXuceMcAlo-k-8w.png" /><figcaption>git remote add origin</figcaption></figure><p>Step 5: Push your changes in your local repo to the remote repo — <strong><em>git push origin &lt;branch-name&gt;</em></strong></p><p>You can even push your changes to a new branch. The following command lets you create and move to a new branch. There are others ways to achieve this as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UbCMYPleeD_PkE5zCHEefg.png" /><figcaption>git branch</figcaption></figure><p>Lastly, push your changes to the branch you have created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sS_cu9g3Om-pnsc4XxrVXQ.png" /><figcaption>git push</figcaption></figure><p>Check your remote repository your changes will be reflected under a new branch created in step 5 with the commit message you entered in step 3.</p><p>Well done! You have successfully moved your local project to your remote repository.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=435c16003ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>