<?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 Amaal Ali on Medium]]></title>
        <description><![CDATA[Stories by Amaal Ali on Medium]]></description>
        <link>https://medium.com/@KhadijaAli03?source=rss-21f68be23cdc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*gp8CsIcj3nThHnX2.jpg</url>
            <title>Stories by Amaal Ali on Medium</title>
            <link>https://medium.com/@KhadijaAli03?source=rss-21f68be23cdc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:24:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@KhadijaAli03/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[Pair Programming]]></title>
            <link>https://medium.com/@KhadijaAli03/pair-programming-1140eb4ffa23?source=rss-21f68be23cdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/1140eb4ffa23</guid>
            <category><![CDATA[pair-programming]]></category>
            <dc:creator><![CDATA[Amaal Ali]]></dc:creator>
            <pubDate>Sun, 12 Mar 2023 02:43:46 GMT</pubDate>
            <atom:updated>2023-03-12T02:45:54.846Z</atom:updated>
            <content:encoded><![CDATA[<p>On January 11th, 2023 I got my first message on discord from another member of the January 9th Lighthouse Labs(LHL) cohort named Joesph Du who was paired with me to pair program. We were given instructions on our daily tasks to begin coding :</p><blockquote><strong>“ </strong><em>This is your first Pair Programming activity of bootcamp! Once you’ve been partnered up, you and your partner can get set up in your Zoom room. To be able to code together, we suggest using VS Code LiveShare.</em></blockquote><blockquote><em>Once VS Code LiveShare is installed, we can set up our file for the exercise.</em><strong>”</strong></blockquote><p>We were then instructed to write a function that identifies whether a <em>supposedly</em> chocolate chip cookie also has <em>raisins</em> in it or not and other scenarios. We did some initial research as it was both our first-time pair programming and then we got straight into it. As with any other daunting start to doing something new, it was awkward, overwhelming, and confusing to where to begin. We discussed what our strengths were and who would feel more comfortable being the driver or the navigator. After spending time figuring out how to get the solution we learned that we were both adaptable and actually felt more comfortable pair programming than programming by ourselves initially. We had so much fun exploring different ways( some new ways for me as a beginner coder) to code the same question and sharing our tips and tricks that help us get through things when were stuck writing code. It started off daunting but we both left thinking about when we would be paired next or if we would have another opportunity to code with another member of our cohort.</p><p>The second time I had pair programmed in this boot camp was at our first group meet-up. A few of our fellow classmates decided it would be a great opportunity to see everyone in person while also getting to experience pair programming as a group on a whiteboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*mKMowp29M7_ivOg44kkr8w.png" /></figure><p>The third time was even better we included Kaitlyn to join our meeting via facetime where we all learned a new language of code together(Ruby). We all got to practice some code and understand how to go about with this new language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*sgHuX0DxLPs-MAu6CUMQFQ.png" /><figcaption>Student Success Coordinator at LHL also joined in on all our fun!</figcaption></figure><p>All in all every time I had an opportunity to pair programs I had more fun along the way with more learning experience. The only negative I can think about thus far is that it was short-lived and would&#39;ve wished for it to go on longer!</p><h3><strong>What is Pair Programming?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*cFr4pGbPTuPgAkhSS_OB9A.gif" /></figure><p>Pair Programming is two developers working as a pair on the same code using only one computer while building software side by side. You&#39;re probably thinking this means you&#39;ll take more time coding if your code on one computer but that&#39;s far from the truth! Why? when you code it isn&#39;t just mostly typing. In order to keep things civilized as we pair it&#39;s essential to remember that there are two roles and they are equally valued, if you recall early I mentioned that my partner Joesph and I discussed who would be the driver and the navigator… those are the two roles. The driver is the one who is typing on the keyboard and is being told what exactly to type while the navigator is the one who is not using the keyboard but actually telling the driver what to code and where to place this code(plan and direction) while keeping the bigger picture in mind. Now you&#39;re probably thinking… isn&#39;t the driver doing basically nothing but typing? Here is where the key in pair programming kicks in, this is where the discussions take place, this means that there&#39;s a collaboration between two individuals with both effort and ideas.</p><p>The key to pair programming work is great communication, rapid feedback, ideas falling back on each other and just understanding that there are two individuals who know/understand what they&#39;re doing and making the final decision as a pair(not as an individual).</p><p>There should never be two people on a keyboard working on the same code like in the image above, nor should there be just one person writing the code while ignoring the navigator. The limiting factor isn&#39;t the typing speed it&#39;s the thought process so the communication of the two developers isn&#39;t sped up by having multiple hands on the keyboard. Can you just imagine the chaos and disaster that would happen? You&#39;ve probably heard what they say about too many chefs in one kitchen haha but honestly, the coordination would be nearly impossible.</p><h3>First time pairing…</h3><p>When coding for the first time as a pair the first thing you&#39;ll probably think about is personal space being infiltrated. It&#39;s best to make sure you&#39;re not bumping into your partner or making them uncomfortable in a way possible by sitting too close or touching them without consent, permission is also very important and so is respecting each other&#39;s boundaries/space.</p><p>Pair programming ensures two sets of eyes review the code that is being produced, even when there is a division of labor(driver and navigator). While the driver writes the code, the navigator checks the code being written. The driver focuses on the specifics of coding, while the navigator checks the work, and code quality and provides direction.</p><h3>Benefits of pair programming</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*xsVvvbB5hPlfgLXP.jpg" /></figure><p>There are several benefits of pair programming such as<em> </em><strong><em>fewer defects</em></strong> and more eyes to catch those small mistakes you might have overlooked. Two sets of eyes looking at every line of code that we put into the system when there is a pair working on it.</p><p>There is a<strong> <em>knowledge transfer</em></strong><em> </em>from the driver to the navigator and vice versa, the person who is most familiar with the code which would be the navigator would now pass that on to the rest of the team and now in a sense passed the torch instead of just letting the other person struggle on their own trying to grasp the concept. This is good because you guys are now working at the same speed and it&#39;s a push and pull between the two discussing working as a team.</p><p>That brings us back to the discussion of the time, most people working in a business wouldn&#39;t prefer their employees discuss and work as they deem it unproductive, however, this discussion could prevent hours spent trying to find a small bug that one person overlooked or just simply because one person forgot how to do something. Thus leading us to <strong><em>increased productivity</em></strong> on the team that is doing the pairing. Obviously, there are cases where some productivity is decreased however that is rarely the case because the quality of code produced when working as a pair has fewer bugs and shared knowledge is better than one individual</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*L8KUOvVj9h0M5_Gq.gif" /></figure><p>Coding as a pair always <strong><em>boosts confidence</em></strong> for first-time coders and always leaves them feeling less intense and overwhelmed when they started. I can speak on my experiences however, the goal is to develop trust and communicate effectively to get the task done executing this smoothly. Hearing others&#39; directions on how to fix an error can be done in so many ways and you won&#39;t know all these solutions individually also having that safety net that the other person knows what they&#39;re doing will always put you at ease when coding.</p><p>If pair programming is new to you, you&#39;re probably wondering when you need to code with others…</p><p>It&#39;s best to practice pair programming with a team when working with overly complex codes, dealing with something you don&#39;t understand, if you&#39;re not sure how to approach something due to its difficulty or because you could simply just bounce your ideas off someone else and figure out if you&#39;re heading in the right direction fast is really helpful and avoids spending hours on screen time.</p><p>When learning how to do something for the first time or something that&#39;s going to be changing throughout the code you will need someone to make adjustments</p><h3>When not to code together…</h3><p>When doing simple tasks like wiring a code that doesn&#39;t require a lot of effort because you&#39;ve done it before, following instructions, or just trivial tasks something really minimal. Attempting to do these things in pairs would be more counterproductive and would most likely be really boring</p><p>I started to spike code mostly every day and every time to see if my code would work, this is called spiking code and wouldn&#39;t make sense to do with others because you&#39;re working with your logic. Doing a code review would make sense in this scenario.</p><p>Lastly when you are sick it&#39;s best to stay home and be out of the office. You will spend hours trying to code something that should&#39;ve taken you a fraction of that time. Also, it would be really inconsiderate to the other person who is pair programming with you because you could potentially get them sick and it genuinely makes others uncomfortable even if they don&#39;t say anything. You could also be jeopardizing someone&#39;s health especially if they have an autoimmune disorder, by sitting in close proximity or even sharing a keyboard(also really unsanitary)</p><h3>When to code together…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G2ChtGgTfrVGIFhX.png" /></figure><p>Naming things in code could be hell especially if you&#39;ve been sitting in front of a screen for a while and validation. You&#39;ll probably end up doing these things with each other even outside of your pairs because two brains work better together and are typically faster.</p><p>Whiteboard designing sessions as a group or even just as a pair. To physically see and learn the process of code.</p><p>Reviewing code is also very important and is constantly done even when finding bugs in your code or even just learning how to do something in a different way than how you originally learned</p><p>It&#39;s not only software development that pair programs for example pilots (pilot and copilot), and police(having partners or any officer talk about airport job and other jobs places, we just don&#39;t sit and think about it.</p><h3><strong>Conclusion</strong></h3><p>Pair programming works for all if done correctly and if you want to do a little more research on what could work for you I&#39;ve attached some links below.</p><ul><li><a href="https://www.techtarget.com/searchsoftwarequality/definition/Pair-programming#:~:text=Pair%20programming%20is%20an%20Agile,code%20and%20test%20user%20stories.">What is Pair Programming?</a></li><li><a href="https://www.codementor.io/pair-programming">What is pair programming and does it actually work? | Codementor</a></li><li><a href="https://www.codecademy.com/resources/blog/what-is-pair-programming/">What Is Pair Programming?</a></li><li><a href="https://www.geeksforgeeks.org/pair-programming/">Pair Programming - GeeksforGeeks</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1140eb4ffa23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[That was very well written and very personal, it takes a lot to share your honest experience for…]]></title>
            <link>https://medium.com/@KhadijaAli03/that-was-very-well-written-and-very-personal-it-takes-a-lot-to-share-your-honest-experience-for-19fd33ea8be3?source=rss-21f68be23cdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/19fd33ea8be3</guid>
            <dc:creator><![CDATA[Amaal Ali]]></dc:creator>
            <pubDate>Sat, 11 Mar 2023 19:03:54 GMT</pubDate>
            <atom:updated>2023-03-11T19:03:54.934Z</atom:updated>
            <content:encoded><![CDATA[<p>That was very well written and very personal, it takes a lot to share your honest experience for what it truly was so I really applaud you! It started off really personal and grabbed my attention which I think is amazing. You were very informative on what exactly pair programming is and what the actual definition was, and you didn&#39;t make it all about terms and make the reader bored or confused. The comic about real developers really made me laugh because thats the truth about people having their own opinions and doesn&#39;t rally happen that often. I also like how you debunked the myths of pair programming because its also what people think of when they first hear about it. Amazing conclusion and I feel very informed about the topic you chose while being thoroughly entertained and engaged so thanks for sharing! There is a slight typo in What are some benefits, &quot;When code from solo vs paired &quot; maybe im wrong but i would recommend changing it to coding, nonetheless amazing written peice. You did great!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19fd33ea8be3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>