<?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 James Katarikawe on Medium]]></title>
        <description><![CDATA[Stories by James Katarikawe on Medium]]></description>
        <link>https://medium.com/@JaymesKat?source=rss-4b2913187187------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*d6GpUEoZv1B_B1SPBCRW_Q.jpeg</url>
            <title>Stories by James Katarikawe on Medium</title>
            <link>https://medium.com/@JaymesKat?source=rss-4b2913187187------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 08:42:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@JaymesKat/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[My time at Andela bootcamp so far and the hurdles that have come with it]]></title>
            <link>https://medium.com/@JaymesKat/my-time-at-andela-bootcamp-so-far-and-the-hurdles-that-have-come-with-it-5c3f2320ff6f?source=rss-4b2913187187------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c3f2320ff6f</guid>
            <category><![CDATA[andela]]></category>
            <category><![CDATA[bootcamp]]></category>
            <dc:creator><![CDATA[James Katarikawe]]></dc:creator>
            <pubDate>Wed, 02 May 2018 13:43:44 GMT</pubDate>
            <atom:updated>2018-05-02T13:43:44.220Z</atom:updated>
            <content:encoded><![CDATA[<p>Today is the 2nd of May, 2018, 3pm, I am seated together with my fellow boot-campers hacking away at our computers with laser sharp focus and unparalleled determination solving our bootcamp programming challenges. We are all part of the cohort VIII aspirants aiming at the honourable prize of joining the Andela technology leadership program and hone our all-round skills with a goal of being a world-class software engineers</p><p>Our journey in the bootcamp commenced on the 23rd of April with an on-site self-learning clinic at the Andela Kampala office having progressed through a series of steps in the application process. My fellow ‘boot-campers’ and I have so far faced numerous hurdles during these two weeks of this exercise. It has personally not been a smooth path for me so I am going to share about my challenges and how I have overcome the hurdles I had.</p><ol><li><strong>Learning to learn, fast!</strong></li></ol><p>As part of the bootcamp, I received a number of programming challenges which I had to solve. I was asked to develop a meal booking application and I was required to utilize a new python web application framework called <strong>flask</strong>. I had no prior experience and had to pick it up and learn how to use it in a day. It was a challenge I was excited to embark on and with the amount of support I got from my team mates and learning facilitator, it is not been a big a mountain as it appeared to be at first. A week later, I am surprised at the progress I have made and I am surely giving myself a tap on the back.</p><p><strong>2. Collaborating not competing!</strong></p><p>As aspiring Andela fellows, we are all familiar with the company’s core values, the <strong>EPIC</strong> values, EPIC is an acronym that stands for Excellence, Passion, Integrity and Collaboration. The value under the spotlight here is collaboration. As I have embarked on a personal journey through out the application process, it has been a one-man show for me: I filled in the online application, interacted with the Homestudy learning material, passed the online assessment and sat for the face-to-face interview all as an individual but now the ball game had changed during the bootcamp, my team’s progress mattered as much as my individual progress. With this in mind, the modus operandi changed and not with much difficulty. Right from day one, we all agreed to take initiative to interact with other by speaking about ourselves and looking for ways that we could help each other out and within no time, we had created a slack group to facilitate our collaboration which we named <strong>asgard </strong>after the home planet of Thor, a popular fictional superhero. Throughout the week, I had to adapt to the habit of always being online to access my slack group to interact with my peers. After experiencing some challenges with accessing slack on the go, I had to install the slack Android app on my phone and I was good to go.</p><p><strong>3. Deadlines, deadlines</strong></p><p>Every organisation that is focused on succeeding in its goals requires discipline to within the set time and at Andela, this is no different. The bootcamp has had a hectic schedule with various expectations and deliverables to make on a daily basis. I have had to adapt in this area by prioritising different tasks. Despite the growing demands of the application I have been required to build during these two weeks, I have also been tasked to deliver on daily tasks and on time.</p><p><strong>4. Quality code only and best practices!</strong></p><p>During this bootcamp, our instructors have made clear the expectations of the work that is expected of us in the technical area. We have been immersed in best software development practices like test-driven development, peer code reviews, version control, code linting, object oriented design, agile software process etc… This seemed overwhelming at first to fully integrate into my workflow but I approached it all with an open-mind considering that this is what it takes to be an excellent software developers. My teammates, learning facilitators have ensured that learning new stuff is easy through sharing their advice and feedback.</p><p>That is it about the challenges I have faced so far at the bootcamp and how i have adapted to them, I hope you had a good read. Feel free to leave any comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c3f2320ff6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Settling in with my the Andela Bootcamp teammates]]></title>
            <link>https://medium.com/@JaymesKat/settling-in-with-my-the-andela-bootcamp-teammates-bfee88f11a8d?source=rss-4b2913187187------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfee88f11a8d</guid>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[andela]]></category>
            <dc:creator><![CDATA[James Katarikawe]]></dc:creator>
            <pubDate>Thu, 26 Apr 2018 06:33:19 GMT</pubDate>
            <atom:updated>2018-05-02T12:10:08.963Z</atom:updated>
            <content:encoded><![CDATA[<p>Monday 23rd April was a long-awaited day, it was day one of the Andela bootcamp, the final stage to becoming a fellow at Andela. A brief intro about Andela, “It is a company started in 2014 that invests in Africa’s most talented developers and integrates them into the world’s best tech companies while being driven by the belief that brilliance is evenly distributed and opportunity is not.” You can find out more at the website <a href="https://andela.com/">https://andela.com/</a> . This is my second time applying to join Andela to train as a full stack developer on a path to hone my all-round skills into world class standards, I was now very excited to kick off the bootcamp round having dropped out at an earlier stage in my previous application attempt.</p><p>That morning, the bootcamp started off with a quick session on how best to with Git for source code versioning before we were joined together with my 4 team members Phillip, Paul, Matthew and Joseph. The five of us were entrusted to our Learning Facilitator Micheal who was to supervise and guide us throughout the bootcamp. Within a few minutes into our first team session, my teammates and I were getting to know each other and sharing about our personal experiences with coding as well as other our hobbies and other fun things about ourselves. As the week has gone on, I have got to know a lot more about my LFA and my teammates more speaking face to face and interacting on our team slack channel, I will share a few things that I have discovered about them.</p><p>I will start off with my Learning Facilitator, Micheal. I found him to most of all to be quite knowledgeable, patient and supportive. In our initial meeting, he let us know that he is always available to help us overcome any obstacle that we may face during the bootcamp. On the slack channel, he has been giving us all the necessary feedback and resources to meet our daily challenges. He likes swimming and traveling. I like the latter too.</p><p>Now the teammates, firstly Paul, the first think that struck me about him is he is an adrenaline junkie who has done skydiving, he is the first person I have met that has done that. I enjoys Python and particularly machine learning which really struck me because I am keen about that too. I also realised he is a big team player because on day one he had every team member’s phone number and called them up the next morning to remind them about our scheduled e-meeting on slack. He is also enthusiastic about learning new stuff and teaching others too, I bet he would be good at training developers.</p><p>Next up is Joseph, he is a programmer who likes solving logic problems for fun, he is good at chess and I would fancy match-up despite being an amateur. On the team, he is the biggest listener always taking time to hear what everyone has to share before contributing. On slack, he is always keen to seek assistance.</p><p>Thirdly Matthew, who I have met before having attended the same high school but I had not known as much about him as I did in week 1 of bootcamp. First thing about him is he is quite brilliant at programming and easily picks up things. He has helped me review my tasks and is very supportive always offering resources to learn on the slack platform. On day one, he pointed out to me that I rather use flexbox in css on my layout and I was so grateful because I did and it saved me more a lot of time in my UI templates. If I was to appoint a team leader, I would pick him because he is always eager to keep the team moving together at the same pace. If you told me that our LFA had secretly made him his deputy, I would not doubt that.</p><p>Finally, Phillip, he is a brave guy and very determined to learn. He is an Android developer with minimal experience in web development but he is not the kind to shy away from a challenge. He has worked confidently and tirelessly on his challenges while using all the help he can get.</p><p>This is my bootcamp team whom I have settled in with quite well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfee88f11a8d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TDD: write tests first, then code]]></title>
            <link>https://medium.com/@JaymesKat/tdd-write-tests-first-then-code-8dd709372b75?source=rss-4b2913187187------2</link>
            <guid isPermaLink="false">https://medium.com/p/8dd709372b75</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[test-driven-development]]></category>
            <dc:creator><![CDATA[James Katarikawe]]></dc:creator>
            <pubDate>Mon, 23 Apr 2018 13:49:46 GMT</pubDate>
            <atom:updated>2018-04-26T11:26:31.837Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>My experience learning Test Driven Development (TDD) for Software Development</strong></h4><p>For a couple of years practicing as a computer programmer, I have from time to time encountered this practice called TDD. I first encountered it about 3 years ago as an aspiring developer attending a local meetup in Kampala which happens to be my home town. I understood primarily it as a way to avoid bugs in your software right from the start by writing tests for all the functions that you needed to implement in a program before you actually. Does this sound confusing? Possibly, I only had a vague picture after all and never picked up TDD in the practice mainly because I found it tiring to implement it in my personal workflow.</p><p>Fast forward to 2017, three years later, a friend shares with me an opportunity offered by Andela, a company offering on-the-job training to develop local developers into professionals and I am am for it. I went on to apply and during the application process, I was re-introduced to this long forgotten or rather ignored practice of TDD.</p><p>So let me first define what TDD is and why it is so important, then I will list the tools that can help you integrate this into your development workflow.</p><p><strong>What is Test-Driven Development (TDD)?</strong></p><p>According to Wikipedia,</p><p><em>TDD is a software development process that relies on the repetition of a very short development cycle: requirements are turned into very specific test cases, then the software is improved to pass the new tests, only.</em></p><p>In other words, as a developer you have a list of requirements to implement but rather than dive into coding the functionality and then later check if they meet the requirements, you are going to write tests that correspond to each of these requirements, run them to observe that they fail (since you have no working functionality yet) then you go ahead and write the code for the functions while running the tests till your code is good enough to have the tests pass.</p><p><strong>Putting TDD to work</strong></p><p>Having grasped the theory of TDD by reading Self Learning material in preparation for the Andela Bootcamp, I was ready to put my knowledge to work. I decided to write a python function that generates a list of prime numbers using the TDD approach.</p><p>The TDD approach advocates the following steps:</p><ul><li>Write the tests</li><li>Run the tests to make them fail</li><li>Implement the functionality</li><li>Keep running the tests while adjusting your implementation code until they all pass</li></ul><p>First of all, I had to identify the test cases for a prime number generator that I needed to write, I came up with the following;</p><ul><li>The function must return a list</li><li>The list returned must contain numbers only</li><li>All the number in the list must be a natural number i.e. greater than zero</li><li>The integer must only be divisible by 1 or itself</li></ul><p>Next I wrote the tests using the unittest package with is pre-packaged with python.</p><p>This is the file that contained the tests taken from my project. You can fin it here: (<a href="https://github.com/Jpkat92/Prime-Number-Generator">https://github.com/Jpkat92/Prime-Number-Generator</a>)</p><p><strong>test.py</strong></p><pre>def test_prime_num_generator(self):     </pre><pre>   self.assertEqual(type(prime_num_generator(100)), list, msg=”A list must be returned”) </pre><pre>   self.assertTrue(isinstance(prime_num_generator(100)[-1], int), msg=”Error: Integers must be written”)       </pre><pre>   self.assertTrue(prime_num_generator(100)[-2]&gt;1, msg=”A prime number cannot be less than 2&quot;) length = len(prime_num_generator(100))<br>         </pre><pre>  self.assertTrue(is_prime(random.choice(prime_num_generator(100))), msg=”Number is not a prime number”) </pre><pre><br>if __name__ == ‘__main__’: unittest.main()</pre><p>Next, I defined the function signature for the function I wanted to implement;</p><p>I included an argument in the function to set an upper limit for the numbers to be generated</p><pre>def prime_num_generator(end):   <br>    pass </pre><p>With the tests set up and my function signature defined though without implementation code, I run the tests and indeed they showed that all tests had failed.</p><p>Next step was to implement the code before running the tests again until they all passed.</p><p><strong>Conclusion</strong></p><p><strong>Why TDD is important?</strong></p><ul><li><strong>Writing testable, maintainable and clean code</strong></li></ul><p>TDD is a practice that helps a developer be disciplined about keeping code organised since you need to have code broken down into clear testable units</p><ul><li><strong>A mental roadmap for implementing your application</strong></li></ul><p>Since you need to thinking well when writing good tests, you are able to know more clearly how much will go to writing the application code</p><p><strong>Integrating TDD into your development workflow</strong></p><p>Depending on your programming language of preference, I have highlighted the following unit testing libraries for the most popular languages;</p><ul><li>JavaScript: Mocha, Jasmine</li><li>Python: Unittest, Pytest</li><li>Java: JUnit</li><li>.NET: csunit</li><li>Objective-C: GHUnit</li><li>PHP: PHPUnit</li><li>Ruby: minitest</li><li>Swift: XCTest</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8dd709372b75" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>