<?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 Ferguson Iyara on Medium]]></title>
        <description><![CDATA[Stories by Ferguson Iyara on Medium]]></description>
        <link>https://medium.com/@fegor?source=rss-b82f87e99b55------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*xNoLptNExdlMHYNNGnY3OA.jpeg</url>
            <title>Stories by Ferguson Iyara on Medium</title>
            <link>https://medium.com/@fegor?source=rss-b82f87e99b55------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 10:46:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fegor/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[Why stop at cool? you could be so much more!]]></title>
            <link>https://medium.com/@fegor/why-stop-at-cool-you-could-be-so-much-more-a3c1497cbc48?source=rss-b82f87e99b55------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3c1497cbc48</guid>
            <category><![CDATA[microverse]]></category>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Ferguson Iyara]]></dc:creator>
            <pubDate>Sun, 08 Dec 2019 21:38:34 GMT</pubDate>
            <atom:updated>2019-12-08T21:38:34.383Z</atom:updated>
            <content:encoded><![CDATA[<p>As developers, we are constantly looking for ways to make our job easier. I mean why wouldn’t we? There’s so much that needs to be done and the tiniest bit of automation is a welcomed idea.</p><h3>Introducing SASS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/0*CPQGD_Iq6bUgdiJz.png" /><figcaption>Syntactically Awesome CSS</figcaption></figure><p><strong>SASS</strong>, short for <strong>Syntactically Awesome CSS </strong>is a CSS pre-processor, which compiles code written in it into plain CSS that web browsers can understand.</p><p>For the purpose of this article, we will not be covering how to install SASS, for instructions on how to install SASS, check out the following articles</p><ul><li><a href="https://medium.com/@ricardozea/sass-for-beginners-the-friendliest-guide-about-how-to-install-use-sass-on-windows-22ff4a32c1f7">Windows</a></li><li><a href="https://medium.com/@AhmadSharif/install-sass-at-ubuntu-14-04-lts-c3e85df26545">Linux</a></li><li><a href="https://medium.com/spemer/beginners-guide-to-sass-9a3b1fc67fbf">Mac OS</a></li><li><a href="https://marketplace.visualstudio.com/items?itemName=ritwickdey.live-sass">VSCode code editor</a></li></ul><p><strong>SASS</strong> comes in two extensions; the .sass extension, and the .scss extension. Both are similar in how they operate but different in their syntax.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*qtESsSp9ToXZ9qbXuJAjQg.png" /><figcaption>SASS snippet written with the .sass extension</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*KF-MKaofV9uykoYzzpqwPw.png" /><figcaption>SASS snippet written with the .scss extension</figcaption></figure><p>As you can probably tell, the only difference in both extensions is the presence of the curly braces in the .scss snippet and its absence in the .sass snippet. For this article, we will be working with the .scss extension only.</p><p>SASS allows us to reduce repetition in our code and improve productivity by introducing us to features which as of yet are not available in plain CSS, some of which are;</p><ul><li>Variables</li><li>Nestings</li><li>Inheritance</li><li>Mixins</li><li>Imports</li></ul><p>Let’s go over them one by one now, shall we?</p><p><strong>VARIABLES</strong></p><p>If you are familiar with any programming language, chances are that you are already familiar with variables and how they operate. For those who do not have any prior programming experience, variables are simply a means of storing information about data types. In <strong>SASS</strong>, we can use variables to store numbers, strings, lists, booleans and even colors (rgb, hex-code, rgba, e.t.c). The example below shows me assigning the hex-code #f2f2f2 to a <strong>SASS</strong> variable, $my_color</p><pre><strong>$my_color: #f2f2f2;</strong></pre><p>Once declared, to use a variable you simply add the variable name to whatever element you want to style</p><pre><strong>body { <br>  background-color: $my_color;<br>}</strong></pre><p>You can also overwrite the value of a CSS variable in a particular selector if the need arises. to do this, simply add the new value of the variable and SASS handles the rest behind the scenes</p><pre><strong>.override {<br>  $my_color: purple;<br>  background-color: $my_color;<br>}</strong></pre><p>The above will give all instances of the overrideCSS class a background color of purple.</p><p><strong>NESTING</strong></p><p>Another cool feature of SASS is the ability to well, nest all styles belonging to a section, the same way it is done in HTML. For example, below is an HTML code snippet showing a navbar containing a header element, an unordered list which in turn also contains list items</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*KLeHhWGvS1Lw50681bzEgg.png" /><figcaption>HTML snippet showing nested elements</figcaption></figure><p>To apply nesting in SASS to style the above, create an scss file and type in the following;</p><figure><img alt="Sass file showing two layers of nesting" src="https://cdn-images-1.medium.com/max/284/1*00XhuVVOAvN1hIfiA7dxgQ.png" /><figcaption>Sass Code snippet showing multiple layers of nesting</figcaption></figure><p>Notice how I included some SASS variables 😉. The above compiles into the following;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/283/1*mWJHd38AJ-E0G1FGI5KQ9Q.png" /><figcaption>CSS file after compilation</figcaption></figure><p>Another cool thing about SASS is that it adds vendor prefixes to your CSS which makes whatever you write in it compatible with all modern web browsers. Thank you SASS!!!! 👍</p><p><strong>INHERITANCE</strong></p><p>Another way SASS reduces repetition is with the concept of inheritance. This comes into play particularly when you have several selectors that share a similar styling. For example, the nav and the ul selectors in the example above both share several stylings. To solve this problem let us create a base class that both selectors can inherit from</p><pre><strong>.flex-between {<br>  display: flex;<br>  justify-content: space-between;<br>}</strong></pre><p>To add the newly created class to both selectors, we simply use the @extend keyword and type in the name of the class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/268/1*cbCTybi0Jlp_kPl_GNkFcQ.png" /><figcaption>Sass Code snippet showing the concept of inheritance</figcaption></figure><p><strong>MIXINS</strong></p><p>Here comes the all-powerful mixin. I like to think of mixins as inheritance with superpowers. It does all that a simple inheritance can do and then some more. Basically, with a mixin, you can pass parameters 😮</p><p>At it’s simplest, a mixin is declared thus;</p><pre>@mixin mixin_name {<br>  // style for the mixin<br>}</pre><p>Let’s build on this knowledge with an example. For this example, we will be hiding the unordered list in our HTML when we get to screen sizes below 500px, to do this we will be using a parameter which we will call $screen_size</p><pre>@mixin hide_ul($screen_size) {<br>  @media screen and (max-width: $screen_size) {<br>    display: none;<br>  }<br>}</pre><p>To add the newly created mixin, simply use the @include keyword followed by the name of the mixin. In this case, it would be @include hide_ul(500px). I added 500px as the argument to the mixin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/273/1*3Ihj47aaT7oGOs8ZdAbkTg.png" /><figcaption>SCSS code snippet showing a mixin being included</figcaption></figure><p>As you can probably imagine, we can add this mixin into any CSS selector we want and we can include any argument we want. Here, I used 500px, but it could also be 400px, 650px, e.t.c</p><p><strong>IMPORT</strong></p><p>One identifying factor of a good programmer is being accustomed to the single responsibility principle. simply put, Don’t Repeat Yourself(DRY) and Separate your concerns. This principle also applies to SASS. Adding all logic in one file can increase the complexity and reduce both the readability and maintainability. You can solve this problem by creating separate scss files for separate features/functionalities and importing them wherever needed.</p><p>In any SASS architecture, every other file asides the main scss file is called a partial and should be prepended with an underscore ( _ ) before the filename. E.g, _variables.scss This tells the transpiler not to transpile that particular file, but that file can be imported into any scss file, be it another partial or the main scss file. To import a partial file, we use the @import keyword followed by the single-quotes which contains the path to the file</p><pre>@import &#39;variable&#39;</pre><p>Notice, after importing the file, the “_” isn’t added as well as the .scss extension, SASS handles all of that behind the scenes.</p><p>As an example, I will be separating all our variables and mixins into a separate file called _variables.scss I’ll also create a _reset.scss file to handle all resets</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*yu0Hz4AhFjhzWBDy-M_mww.png" /><figcaption>Content of the _variables.scss file</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*pW2uCdVh8HPp14ICZMM_Zw.png" /><figcaption>Content of the _reset.scss file</figcaption></figure><p>After importing the _variables.scss and the _reset.scss files into our main scss file this is what we have;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*uihs60Uq-2huRI2zx5ImHQ.png" /><figcaption>Scss snippet showing how the import keyword works</figcaption></figure><p>Whew! If you’ve read till this point, it is my hope that you have at least picked the basics of this wonderful CSS extension, you can view the code for this article <a href="https://github.com/fegzycole/SASS-TUT">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3c1497cbc48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Banka, The Journey So Far]]></title>
            <link>https://medium.com/@fegor/building-banka-the-journey-so-far-be6bbc862a22?source=rss-b82f87e99b55------2</link>
            <guid isPermaLink="false">https://medium.com/p/be6bbc862a22</guid>
            <category><![CDATA[andela]]></category>
            <dc:creator><![CDATA[Ferguson Iyara]]></dc:creator>
            <pubDate>Wed, 24 Apr 2019 13:47:27 GMT</pubDate>
            <atom:updated>2019-04-24T13:47:27.037Z</atom:updated>
            <content:encoded><![CDATA[<p>The journey of a thousand miles, it has been said, begins with a footstep. Over the past few weeks, I have been tasked with coming up with a banking solution that makes life better and banking operations easier for clients, cashiers and admins of banks. While the idea of a solution to a banking problem might seem like a fantastic one, It is one thing to imagine and it is another to get to work to bring that idea to birth. Also, the job at hand required that I change so many things that I did on a normal basis and in fact my perspective on so many things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*TyOWObS4ZF-v3A2QoRDPOA.jpeg" /></figure><p>One of the major things that has changed for me is how I deal with my time. Before the bootcamp project, I would say that I had it pretty good😃. I had a lot of time to do whatever I wanted to do, whenever I wanted to do it. But then, with purpose comes action and sacrifice, and the only option for me, if I am to complete the Andela Developer Challenge(ADC) and hopefully enter into the Andela fellowship, is to change my routine and how I worked with time. This meant that I had to cut off everything that I was spending my time on that was not a necessity, from social media to idle chat with friends, I have become a person who is extremely conscious and cautious of what I spend my time on.</p><p>Also, the fact that we need to be held accountable for our work was a concept that I hadn’t fully been immersed into. On getting into bootcamp, we were merged with Learning Facilitator Assistants (LFAs) whose job is to access us on our strengths and help us become better programmers. This came with certain rules, one of which was that for every task that was completed, the power was taken away from me to merge that task to my working branch on Github, basically, the LFA has to give his opinion on each pull request made to GitHub and approve or disapprove. This meant that I had to be humble, and work obediently with constituted authority in the scope of the bootcamp project.</p><p>There is a story about an egg and a potato that were both boiled with hot water. After some time, the potato softened while the egg hardened, these two objects were put under the same conditions but came out differently.</p><p>The ADC has stretched me to my limits in every way, but I look at the progress that I have made so far and I am grateful for how far I have come. I am no rock hard egg, at least not yet, but I am a long way from being addressed as a soft potato.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be6bbc862a22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linting With Eslint]]></title>
            <link>https://medium.com/@fegor/linting-with-eslint-4b4e9713baea?source=rss-b82f87e99b55------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b4e9713baea</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Ferguson Iyara]]></dc:creator>
            <pubDate>Wed, 17 Apr 2019 15:48:52 GMT</pubDate>
            <atom:updated>2019-04-17T15:48:52.888Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*-IjrMiJJqGwl7TLxQYPpWQ.png" /></figure><p>One of the tools that I’ve found most helpful during my preparation for bootcamp and indeed at bootcamp so far has got to be ESlint.</p><blockquote>“ESLint is an open source JavaScript linting utility originally created by Nicholas C. Zakas in June 2013”.</blockquote><p>In its most natural form, it is a tool that analysis javascript code based on specified style guides, For my project, I referenced the Airbnb style guide</p><p>So why was it the tool I found most interesting?</p><p>Well to start with, it made my work look like crap. I had started working on my project for a while before I integrated ESLint into it.</p><p>It started its role as an auditor almost immediately, It picked out each and every irregularity in my work, most of which I never considered as being wrong, after all, my code seemed to run just fine anytime I ran it. I started implementing on changes that were required and at the end, the output of what I had typed was much beautiful and had a much better syntax. I remember leaping for joy after making my first changes while working with ESLint, its a memory I will hold on to for a long time.</p><p>ESLint is a tool I will continue using for as long as programming and software development takes me. And I would recommend anyone who is serious about programming in javascript to get begin working with ESLint if they haven’t already.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b4e9713baea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Reflections on Andela’s EPIC values]]></title>
            <link>https://medium.com/@fegor/my-reflections-on-andelas-epic-values-81fc67519875?source=rss-b82f87e99b55------2</link>
            <guid isPermaLink="false">https://medium.com/p/81fc67519875</guid>
            <category><![CDATA[andela]]></category>
            <dc:creator><![CDATA[Ferguson Iyara]]></dc:creator>
            <pubDate>Tue, 16 Apr 2019 15:04:39 GMT</pubDate>
            <atom:updated>2019-04-16T15:04:39.315Z</atom:updated>
            <content:encoded><![CDATA[<p>Coming into the bootcamp, I was introduced to a new concept applied by Andelans at work and <br>in their daily lives, which is, doing things the EPIC way. EPIC is short for</p><p>Excellence<br>Passion<br>Integrity<br>Collaboration</p><p>I’d like to give my opinion about what it entails these concepts entail.</p><h3><strong>Excellence</strong></h3><blockquote>“Excellence is never an accident. It is always the result of high intention, sincere effort, and intelligent execution; it represents the wise choice of many alternatives.”</blockquote><p>Excellence is a mindset, it is knowing that you can be the best version of yourself and taking obvious and deliberate<br>actions towards that end.</p><p>It involves a can do all attitude.</p><p>As a software developer, excellence is paramount in all that I do. From my work ethic, to the quality of my work, to how I handle issues professionally, being able to separate emotion from duty, to how I take feedback and advice, I am supposed to embody excellence.</p><p>This means that when a problem arises, I do not cower and run away, I am expected to rise to the occasion and find a way to solve that problem in a way that benefits Andela and myself.</p><p>Excellence cannot be achieved in a day, it is the product of consistency and consistency is deliberate, intentional and to an expected end.</p><h3>Passion</h3><blockquote><a href="https://www.brainyquote.com/topics/passion">Passion is one great force that unleashes creativity, because if you’re passionate about something, then you’re more willing to take risks.</a></blockquote><blockquote><em>Yo-Yo Ma</em></blockquote><p>Passion is the driving force to attaining excellence. The people who achieve the most out of life are those who are driven by a fire that others cannot seem to figure out, those who do not take no for an answer for that thing which they believe in. Andela expects Andelans to personify this value, as it is key to producing results that are uncommon.</p><h3><strong>Integrity</strong></h3><p>According to wikipedia, Integrity is the practice of being honest and showing a consistent and uncompromising adherence to strong moral and ethical principles and values. In ethics, integrity is regarded as the honesty and truthfulness or accuracy of one’s actions. How you do the work you do is another concept I have found that is really important at Andela. While it is true that no one knows it all, there is the right way of doing things and in contrast the wrong way of doing things. How truthful are you? Do you give credit for intellectual property borrowed or do you mask it as yours, Can you remain honest and stand your ground even in the face of uncertainty? These are questions an Andelan should be able to affirm confidently.</p><h3>Collaboration</h3><p>According to wikipedia, collaboration is the process of two or more people or organizations working together to complete a task or achieve a goal. Andela knows that we do not know it all. These past few weeks, I have been introduced to concepts like github, pivotal tracker which are instruments Andela enforces its fellows and staffs to use, I have also been introduced to the concept of receiving feedback for work done which i believe is crucial to putting out quality output.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81fc67519875" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Banka, My Journey Thus Far…]]></title>
            <link>https://medium.com/@fegor/building-banka-my-journey-thus-far-ff79c34181f4?source=rss-b82f87e99b55------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff79c34181f4</guid>
            <category><![CDATA[andela]]></category>
            <dc:creator><![CDATA[Ferguson Iyara]]></dc:creator>
            <pubDate>Mon, 15 Apr 2019 15:20:17 GMT</pubDate>
            <atom:updated>2019-04-15T15:20:17.036Z</atom:updated>
            <content:encoded><![CDATA[<p>Coming from a background in IT Infrastructure, building Banka seemed like a daunting task.</p><p>I’ve mentioned Banka twice now, leaving you confused I’m sure, but just to put you on the same page, Banka is a lighweight banking application given to Cycle 43 of the Andela Bootcamp to develop from scratch. It is built using html, css and javascript for the front end (UI) and node.js which is a flavour of javascript for running server side code using javscript.</p><p>The bootcamp is a sequel to a series of recruiting processes involved in selecting fellows for the Andela fellowship. Previously, I had worked on home assessments, and an interview most of which involved programming in javascript.</p><p>Now that the introductions are out of the way, lets move on 😁</p><p>I went into the whole recruitment process for the Andela fellowship completely lost about what programming in javascript was about, although I could probably explain well what an if/else statement is.</p><p>Luckily for me, I was able to work with the resources given by Andela (Home Study Curriculum) as it was in no small way detailed and helpful, so getting past the initial stages of the recruitment process was although challenging, do-able and I did it.</p><p>The next phase involves building a full stack application using technologies and concepts that I have never used before. There were two options tabled before me, one was to abandon the cause and focus on Networking, because after getting notice of the technologies involved, I spoke with an ex-bootcamper I know who is a really good programmer might I add, and his feedback was that, It would be almost impossible for a rookie to get in and seeing how good he is, I was tempted to think in that light. The other option was to see this thing through, after all, I had come this far, so many people have gotten into the fellowship on their first attempt, if they could, I can!! and worst case scenario, I don’t get in the first time, I restrategize and re-apply to the fellowship</p><p>I picked the latter, because I did a lot of soul searching about what I wanted to do with my life in general, and I see programming playing a huge role directly or indirectly, I will push and do my best to meetup with expectations and if per chance it doesn’t go as planned, I’ll not give up, because Andela has staff across Africa and in the US, if they can get in, I can too!!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff79c34181f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>