<?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 Benedict Mwendwa on Medium]]></title>
        <description><![CDATA[Stories by Benedict Mwendwa on Medium]]></description>
        <link>https://medium.com/@benedictmwendwa47?source=rss-90b6208b9caa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*AGiBfSn-qd-S3eLe.</url>
            <title>Stories by Benedict Mwendwa on Medium</title>
            <link>https://medium.com/@benedictmwendwa47?source=rss-90b6208b9caa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 03:07:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@benedictmwendwa47/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[Andela Adaptability.]]></title>
            <link>https://medium.com/@benedictmwendwa47/andela-adaptability-677b78b41f58?source=rss-90b6208b9caa------2</link>
            <guid isPermaLink="false">https://medium.com/p/677b78b41f58</guid>
            <category><![CDATA[adaptability]]></category>
            <category><![CDATA[andela]]></category>
            <dc:creator><![CDATA[Benedict Mwendwa]]></dc:creator>
            <pubDate>Tue, 06 Mar 2018 12:58:54 GMT</pubDate>
            <atom:updated>2018-03-06T13:30:53.484Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*Q2KUUWnHqYV1_OdkJSXOvw.jpeg" /></figure><p>A simple definition according to the Oxford dictionary, Adaptability is the ability to adjust to new conditions. Going through the Andela boot-camp was one of the greatest challenges in my life. To manage the deadline pressure and meeting expectations called for me to be able to adapt. I had to change my ways of doing things and also change my lifestyle in general.</p><p>Making it to week two was awesome although I was also sad to see my week one friends go. it was an all weekend celebration as I was really happy to have made to the second week of the Andela boot-camp. Week challenge was massive but as I received the invitation mail for the second week I was sure the second challenge would be on a different level, so I had to brace myself for the task. <br>Week one to me was heavy as the whole week only slept for 28 hours (4 hours daily). and now as we got to week two I could only imagine how vigorous it was going to be. When the time came I had no choice but learn Flask (a python web development framework) from scratch and develop restful APIs as I go, use project management tools like Pivotal Tracker and Git-hub as well as writing blog posts. It was pretty tiresome and at the same time, I had to write test code for the API’s using TDD which was not my cup of tea as I was only a beginner in the whole concept.</p><p>At first, I looked at some of my peers work and I was like “jeez” how do you expect me to compete with guys. One of the guys on the first day of the second week was already done with the coding he was busy trying to perfect his job while I was busy trying to crack w “what the hell are this restful API’s?” I had to call myself to a meeting and decide whether I would still proceed with the boot-camp or go level up and come back stronger. I am not giving up type so I decided to proceed.</p><p>To catch up with the rest of my peers I had to seek help from one of the TDD guru’s in the house who helped me to get the hang of it all. I also had to sleep for three hours a day and still manage to be productive. I also learned to use video tutorials as I was used to reading pdf tutorials and E-books. One thing that helped.</p><p>Pushing yourself to the limit is one of the most important keys to success in life. You never know how strong you are until you face a do or die challenge. it makes you bold, it makes you stronger and also helps you to embrace change. Change is inevitable in life since we go through different challenges as we go and the only effective way to beat this challenges is to mold ourselves in a way that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*p-qj04aATVeFmpzMspa_pg.jpeg" /></figure><p>One of my favorite rappers really keeps me going with his encouraging lyrics. According to him,</p><blockquote>“<strong> Anybody is a killer, all you gotta do is push ’em to the limits</strong>”</blockquote><p>This makes me believe that anybody can achieve anything they wish in life. all we have to do is to push ourselves to limit and change our ways of doing things</p><p>Things here at Andela boot-camp have not been as cheap as i anticipated. The more days pass the tougher the challenges get.As things get thick i was believe that i have to brace myself to be able to beat the challenges. the word QUIT does not even exist in my vocabulary. My ambitions to become a world class full stack developer are way too big compared to the challenges i go through on my way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=677b78b41f58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[interesting attributes of 3 team mates]]></title>
            <link>https://medium.com/@benedictmwendwa47/interesting-attributes-of-3-team-mates-e403e7603eb7?source=rss-90b6208b9caa------2</link>
            <guid isPermaLink="false">https://medium.com/p/e403e7603eb7</guid>
            <category><![CDATA[andela]]></category>
            <category><![CDATA[teamwork]]></category>
            <dc:creator><![CDATA[Benedict Mwendwa]]></dc:creator>
            <pubDate>Wed, 28 Feb 2018 10:17:14 GMT</pubDate>
            <atom:updated>2018-02-28T10:17:14.703Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*yCd6BBvNUqqD3AfDSOVewQ.jpeg" /><figcaption>Team Wakanda</figcaption></figure><p>As you get older, friends come and go. We meet new people every day and circles keep expanding. I attended a developers boot camp at Andela and it was really friendly than I expected. I got to interact with my teammates and a learning facilitator whom everyone in the group believed was a very inspiring lady.</p><p>Everyone in the team wanted to engage with our facilitator to know what happens after the boot-camp and she was really glad to help and motivate us. Did I enjoy my time in the boot camp? Of course, I did. I got to meet new people and learned a lot in the training sessions. My group comprised of five members who were in a way born comedians. To them, everything seemed to be a joke. The members in my group, as well as other groups, were awesome, I wish I could have the time to write about each one of them for they always made the atmosphere of the boot camp cheerful.</p><p>Flevian Kanaiza is the first person I have to talk about. She was the facilitator in our group for the first week. Flevian is a very knowledgeable lady and yet so down to earth. She shared a lot with us about her journey to Andela and I really found it to be very encouraging.As the facilitator, she made sure that all the activities in the boot camp promoted unity among the young developers in our team. Being a leader comes naturally to Flevian as she made sure that our approach towards the Boot-camp challenges promoted personal development. She was helpful to all of us in the team and from her patience and drive, I can say that she was very helpful.</p><p>Francis Kiarie is another wonderful person in my team. His drive in life is the passion for helping the less fortunate. He made me believe that it is important to better other people if the society is to grow. Moreover, Francis owns and manages a word press blog that addresses social problems. From the blogs, it easy to notice that he wants a better society and would stop at nothing to see that there is social justice in the society. Francis is someone you can always lean on and trust that he can help you when you are in trouble.</p><p>I also interacted with Melvin Atieno. She is the type of person you can describe as jovial and interesting. From the first time I met her, I realized that she was a team player and knowledgeable. Her friendly nature and positive attitude towards life showed that she does not let problems get in her way and thereby, prevent her from achieving her goals. I think she the type of person you can describe as lively. Moreover, Melvin showed how to link my GitHub account to Pivotal Tracker. something I been struggling with for a long time.She showed me the procedure and in five minutes “voila” I was able to integrate GitHub with Pivotal Tracker.</p><p>Finally, i can’t go without saying something about Yuri. He is the kind of a guy that likes conversing about technology. The guy is just a geek by default. He keeps track of any developments in the technology industry and he also possesses legit programming skills. Despite the fact the fact that he is a law student at Riara University, Yuri believes that technology is the way to go and he has really invested a lot of time doing research. <br>It is always a please to engage this guys in my team even the ones I have not mentioned. we all contribute significantly towards the achievements of our team and making each other better developers. Salute</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e403e7603eb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Growth mindset]]></title>
            <link>https://medium.com/@benedictmwendwa47/growth-mindset-f6d72a99df1c?source=rss-90b6208b9caa------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6d72a99df1c</guid>
            <category><![CDATA[tdd]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <dc:creator><![CDATA[Benedict Mwendwa]]></dc:creator>
            <pubDate>Mon, 26 Feb 2018 12:25:07 GMT</pubDate>
            <atom:updated>2018-02-26T13:14:26.955Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/209/1*jxLSDkMmZYdE3EOuTL5NnQ.png" /></figure><p>Growth mindset is having a mentality of being able to grow and get better or smarter than you are. This is actualized by allowing yourself to learn, putting extra time and effort or even research. Changing your way of thinking or doing your job can also be a key addition to growth.<br>I had a challenge using python Test Driven Development(TDD) where while I was going through some boot-camp level up resources we were required to research and learn how to test code on our own. It was really difficult to the hang of it since I only had the basic skills in python. I tried to learn on my own but it proved really difficult since I didn’t see the sense of writing unit-tests.This changed when I attended a self-learning clinic where I heard stories from other developers who had gone through the same challenging test driven development under the least conducive environments and they still did it.</p><blockquote>Test Driven Development is a software development process that relies on the repetition of a short development cycle where the developer first writes an (initially failing) test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test</blockquote><p>The way I looked at it was “why am I supposed to write code to test the real piece of code?”. It was such a poor mentality, isn’t it? , We were finally introduced to TDD in a more encouraging way and did a practical program whereby the unit-test we had written really helped us to develop clean code and debug it easily. This really helped me to change the perception I had and did a lot of research on TDD. I now find it easier to do TDD related tasks since I already know its importance.</p><p>This is a sample of unit-testing code</p><pre><strong>import </strong>unittest<br><strong>from </strong>business <strong>import </strong>Business<br><br><strong>class BusinessTestCase</strong>(unittest.TestCase):<br><br>    <strong>def test_create_business</strong>(self):<br>        business=Business()<br>        response= business.create_business(&quot;andela&quot;,&quot;TRM&quot;)<br>        self.assertEqual(response[&quot;message&quot;], &quot;Business added successfully&quot;)<br><br>    </pre><p>The solution to this test is shown below</p><pre><strong>class Business</strong>():<br>    <strong>def </strong>__init__ (self):<br>        self.business={}<br>    <strong>pass<br><br>    def create_business</strong>(self,name,location):<br>        self.business[name]=location<br>        <strong>return</strong>{&quot;message&quot;:&quot;Business added successfully&quot;}<br></pre><p>The code above passes all the given tests as described.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*7mTXy8Xt_clQ5blbscOiyA.png" /></figure><p>The perception and attitude you have toward something determines your chances of prospering in the same. Using the challenges you go through on your way to success as stepping stones the sky is the lower limit to your achievements.Think of the people who have made it through the same and know that you are nothing less compared to them. Look at challenges as a chance for to grow by learning thing which might have been proved difficult but they are also achievable as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6d72a99df1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to driven programming in JavaScript (jasmine)]]></title>
            <link>https://medium.com/@benedictmwendwa47/introduction-to-driven-programming-in-javascript-jasmine-1427b83e0825?source=rss-90b6208b9caa------2</link>
            <guid isPermaLink="false">https://medium.com/p/1427b83e0825</guid>
            <category><![CDATA[jasmine]]></category>
            <category><![CDATA[tdd]]></category>
            <dc:creator><![CDATA[Benedict Mwendwa]]></dc:creator>
            <pubDate>Sat, 24 Feb 2018 23:22:25 GMT</pubDate>
            <atom:updated>2018-02-24T23:22:25.227Z</atom:updated>
            <content:encoded><![CDATA[<p>i have been writing code for some time but since i was introduced to test driven development nothing was the same.</p><p>jasmine is an automated javascript framework that makes sure you write your code works exactly as you want it to</p><blockquote><strong>“ TDD is a software development process that relies on the repetition of a very short development cycle”</strong></blockquote><p>Test driven development involves:</p><ul><li>Write a failing unit test</li><li>Make the unit test pass</li><li>Refactoring the test</li></ul><p>the syntax for jasmine is</p><blockquote>describe(“testcase”, function(){</blockquote><blockquote>it(“contains spec with an expectation”, function(){</blockquote><blockquote>expect(true).toBe(true);</blockquote><blockquote>});</blockquote><blockquote>it(“contains spec with an expect a negative case”, function(){</blockquote><blockquote>expect(true).not.toBe(true);</blockquote><blockquote>});</blockquote><blockquote>});</blockquote><p>this is a simple unit test that expects a function to be declared. This function expects boolean true to be true</p><p><em>toBe</em> is a matcher in jasmine used to check “===” in javascript while <em>not.toBe </em>is a negation of a matcher</p><p>The second step will be to write run the test which will <em>fail </em>then we refactor the code until it passes the tests.once the tests pass we can refactor the tests to add more functionality.</p><p>please check out for the second part of this tutorial 03/03/2018</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1427b83e0825" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>