<?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 liz ahumuza on Medium]]></title>
        <description><![CDATA[Stories by liz ahumuza on Medium]]></description>
        <link>https://medium.com/@lizahumuza?source=rss-cec5859aeb2b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TJ1FB6zgi6BADTVvFCFyQA.jpeg</url>
            <title>Stories by liz ahumuza on Medium</title>
            <link>https://medium.com/@lizahumuza?source=rss-cec5859aeb2b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:17:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lizahumuza/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 Journey at Wakandi Uganda]]></title>
            <link>https://medium.com/@lizahumuza/my-journey-at-wakandi-uganda-9920b531d652?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/9920b531d652</guid>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Mon, 11 May 2026 09:03:18 GMT</pubDate>
            <atom:updated>2026-05-11T09:03:18.052Z</atom:updated>
            <content:encoded><![CDATA[<p>On a random Friday hot afternoon, as I was busy running around the streets of Kampala, I received a call that changed everything. It propelled me from the comfort of my routine, launching me into a new adventure filled with unknowns.</p><p>Wakandi is a Norwegian-based fintech company that prides itself in accelerating the digital transformation of the Informal economy. At Wakandi we believe enhancing financial inclusion is a cornerstone to building a more sustainable society, particularly in the developing world.</p><p>Wakandi is spread out in five different branches across Africa and these include Uganda, Tanzania, Kenya, South Africa, and Gambia. The core values of Wakandi are; Growth, Resilience, Intergrity and Trust.</p><p>On my first day at Wakandi I was introduced to the company tech lead Mr Masete Nicholas who received me with open arms and introduced me to the entire team. I was then oriented about the company policy and what to expect in the remaining days to come.</p><p>My first assignment was to install Docker and get familiar with it with the help of some online YouTube tutorials. I faced a couple of challenges along the way during this assignment but Nicholas was always kind to help me whenever I called upon him. I learned to build docker images, create docker files and add content to them, start the app container, and run it, to mention but a few.</p><p>I also got the opportunity to visit some of the saccos that are using the wakandi system and took them through the process of using Airtel money to pay their loans, withdraw their savings and check their loan balance, etc. The Sacco admins were very warm and receptive towards us and they were thrilled to use the new feature added to the application.</p><p>We were also privileged to be visited by one of the staff at AMFIU( Association of Micro Finance Institutions of Uganda) by the names of Ms. Veronica Nakacwa who took us through the PMT (Performance Monitoring Tool) that analyses data into important ratios that can guide us in decision making. It also helps to generate individual feedback reports and the tool can easily be accessed online at <em>pmt.amfiu.org.ug</em></p><p>During my recent visit to the MKK Sacco, I helped them migrate their most recent transactions on the Wakandi Business Application. Some of the challenges I faced during the migration was that some of the members had joint accounts but during registration, some indicated that only one person’s name was captured. I worked around this challenge by identifying the account number associated with both names of the clients and I entered the data into the system.</p><p>The COO Mr. Terje Width happened to visit us at the office and gave us an in-depth talk about the Wakandi values which he summarized into one single word G.R.I.T. that simply describes the strength of character that allows someone to keep going even when things are tough. Someone with grit is persistent, resilient, and doesn’t give up easily.</p><p>As I conclude, I would like to say that my time at Wakandi has been an incredibly enriching and productive experience. I leave with invaluable insights, meaningful connections, and a profound sense of gratitude.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9920b531d652" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey at Wakandi Uganda]]></title>
            <link>https://medium.com/@lizahumuza/my-journey-at-wakandi-uganda-56f691f443b9?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/56f691f443b9</guid>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Mon, 01 Jul 2024 10:40:58 GMT</pubDate>
            <atom:updated>2024-07-01T10:40:58.756Z</atom:updated>
            <content:encoded><![CDATA[<p>On a random Friday hot afternoon, as I was busy running around the streets of Kampala, I received a call that changed everything. It propelled me from the comfort of my routine, launching me into a new adventure filled with unknowns.</p><p>Wakandi is a Norwegian-based fintech company that prides itself in accelerating the digital transformation of the Informal economy. At Wakandi we believe enhancing financial inclusion is a cornerstone to building a more sustainable society, particularly in the developing world.<br>Wakandi is spread out in five different branches across Africa and these include Uganda, Tanzania, Kenya, South Africa, and Gambia. The core values of Wakandi are; Growth, Resilience, Intergrity and Trust.</p><p>On my first day at Wakandi I was introduced to the company tech lead Mr Masete Nicholas who received me with open arms and introduced me to the entire team. I was then oriented about the company policy and what to expect in the remaining days to come.</p><p>My first assignment was to install Docker and get familiar with it with the help of some online YouTube tutorials. I faced a couple of challenges along the way during this assignment but Nicholas was always kind to assist me whenever I called upon him. I learned to build docker images, create docker files and add content to them, start the app container, and run it to mention but a few.</p><p>I also got the opportunity to visit some of the saccos that are using the wakandi system and took them through the process of using Airtel money<br>to pay their loans, withdraw their savings and check their loan balance, etc.<br>The Sacco admins were very warm and receptive towards us and they were thrilled to use the new feature added to the application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*NrsU1hFdJLrO8YKuX5yAFA.jpeg" /></figure><p>We were also privileged to be visited by one of the staff at AMFIU( Association of Micro Finance Institutions of Uganda) by the names of Ms. Veronica Nakacwa who took us through the PMT (Performance Monitoring Tool) that analyses data into important ratios that can guide us in decision making. It also helps in the generation of individual feedback reports and it can easily be accessed online at <em>pmt.amfiu.org.ug</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iv76LXTVZKd7n9r2fJU25A.jpeg" /></figure><p>During my recent visit to the MKK Sacco, I helped them migrate their most recent transactions on the Wakandi Business Application. Some of the challenges I faced during the migration was that some of the members had joint accounts but during registration, some indicated that only one person’s name was captured. I worked around this challenge by identifying the account number associated with both names of the clients and I entered the data into the system.</p><p>The COO Mr. Terje Width happened to visit us at the office and gave us an in-depth talk about the Wakandi values which he summarized into one single word G.R.I.T. that simply describes the strength of character that allows someone to keep going even when things are tough. Someone with grit is persistent, resilient, and doesn’t give up easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*SvYMnqHeL7vXGaARt8A9TQ.jpeg" /></figure><p>As I conclude I want to say that my stay at Wakandi has been nothing but completely amazing and my prayer is that I get to continue working with them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56f691f443b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crafting Fluid User Experiences: A Guide to Natural Responsive Techniques]]></title>
            <link>https://medium.com/@lizahumuza/crafting-fluid-user-experiences-a-guide-to-natural-responsive-techniques-eee5fdb1d468?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/eee5fdb1d468</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[responsive-web-design]]></category>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Fri, 24 Nov 2023 21:58:28 GMT</pubDate>
            <atom:updated>2023-11-24T22:12:44.206Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GFcQo040mbdGMi0V" /><figcaption>Photo by <a href="https://unsplash.com/@walls_io?utm_source=medium&amp;utm_medium=referral">Walls.io</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As web developers, we strive to create websites that are not only visually appealing, but also responsive and user-friendly. Natural responsiveness in web development refers to the ability of a website to adapt to different screen sizes and devices, while maintaining a seamless and intuitive user experience.</p><p>If you want to create responsive websites, it’s important to use naturally flexible techniques. There are certain things that should be avoided during development, such as using fixed height and width attributes. For example, if you set a 300px width on an element, it won’t be able to shrink below that size, making it difficult to fit on most phone screens. Similarly, setting a fixed height attribute can cause issues if the contents of the element exceed the available space.</p><p>To solve this problem, you can use max-width or min-height instead of fixed height and width attributes. In most cases, it’s recommended to avoid setting heights altogether. Instead, you can use margins and padding to create space around the element, keeping it flexible no matter what content is inside.</p><p>Another tip to achieve responsiveness, you can use Flex and Grid properties like <em>flex-wrap</em> and grid’s <em>minmax, auto-fill</em>. While they don’t guarantee perfect responsiveness, they are helpful tools that can help create impressive layouts with minimal effort.</p><p>It’s worth noting that in some cases, fixed widths may be necessary. However, in general, smaller widths are more likely to be acceptable as fixed widths.</p><p>In conclusion, In the ever-evolving digital landscape, websites are no longer confined to desktop screens. They must seamlessly adapt to a myriad of devices, from smartphones and tablets to laptops and desktops. By adopting a naturally flexible approach, developers shed the constraints of fixed dimensions, embracing fluidity and adaptability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eee5fdb1d468" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Beauty And Power Of Mathematics]]></title>
            <link>https://medium.com/@lizahumuza/the-beauty-and-power-of-mathematics-441e74bb7934?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/441e74bb7934</guid>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Wed, 22 Nov 2023 10:01:35 GMT</pubDate>
            <atom:updated>2023-11-22T10:37:01.638Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8BvKnAf38_vut7tma0yHsg.jpeg" /></figure><p>Mathematics is derived from a Greek word “mathema” which means “knowledge/ study/ learning.” It involves learning topics like Numbers, formulas, shapes and quantities. There is no actual definition for mathematics. And neither is there a consensus on whether it is an art or a science.</p><p>Mathematics is important in many sectors such as Natural sciences, engineering, medicine, finance, IT and social sciences.</p><p>It has been used in science to allow extraction of quantitative predictions from experimental laws like Newton’s law of gravitation which states that action and reaction are equal but opposite.</p><p>The main areas of mathematics include number theory, geometry which consists of shapes, lines and angles, algebra which consists of equations and formulas, calculus and analysis which involves the study of the relationship between two changing quantities, discrete mathematics, logic and set theory, applied mathematics, statistics and computational mathematics.</p><p>In the history of mathematics, Archimedes is considered to be the greatest mathematician, together with Apollonius of Perga, Hipparchus of Nicaea, Diophantus, Isaac Newton and Gottfried leibniz.</p><p>Also Leonard Enler who invented and popularized a lot of the mathematical notation being used today.</p><p>In conclusion, the most prestigious award in mathematics is the Fields Medal which is similar to the Nobel Prize. There is also a famous list of 23 open problems and a solution to any of these problems is worth 1 million dollars. Presently, only one of these problems has been solved and it’s called the Poincare conjecture.</p><p>References:<br>1. Wikipedia contributors. (2023, November 20). Mathematics. In Wikipedia. <a href="https://en.wikipedia.org/wiki/Mathematics">https://en.wikipedia.org/wiki/Mathematics</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=441e74bb7934" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An insight about React Hooks]]></title>
            <link>https://medium.com/@lizahumuza/an-insight-about-react-hooks-1bd2f4c7e935?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bd2f4c7e935</guid>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Thu, 01 Jun 2023 19:04:06 GMT</pubDate>
            <atom:updated>2023-06-01T19:04:06.584Z</atom:updated>
            <content:encoded><![CDATA[<p>I started working with react hooks of recent and i found them very helpful in my react projects. React hooks are a recent new feature in React 16.8 that allow you to use state and other react features without wring a class. And because of this, class components are generally nolonger needed.</p><p>Hooks have several advantages and they include the following:</p><ol><li>It is easiear to write reusable code using hooks.</li></ol><p>2. Hooks make it easier to write code that is easier to understand.</p><p>3. Hooks make it easier to write code that is easier to test.</p><p>There are several different types of hooks but the most common of all of them is <em>useState, </em>which lets you to manage state in a functional component. It can be used in the following way:</p><pre>const [count, setCount] = useState(0);<br><br>const incrementCount = () =&gt; {<br>  setCount(count + 1);<br>};<br><br>return (<br>  &lt;div&gt;<br>    &lt;button onClick={incrementCount}&gt;Increment&lt;/button&gt;<br>    &lt;p&gt;Count: {count}&lt;/p&gt;<br>  &lt;/div&gt;<br>);<br></pre><p>The above code creates a count state variable that starts at 0. It also creates a incrementCount function that increments the count variable by 1. Finally, it renders a button that calls the incrementCount function when clicked.</p><p>There are several other Hooks available, including useEffect, useContext, and useReducer. You can learn more about the different Hooks in the React documentation.</p><p>Overall, React Hooks are a powerful new feature that can make it easier to write reusable, performant, and user-friendly code. If you’re not already using Hooks, I encourage you to give them a try.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bd2f4c7e935" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Recursion]]></title>
            <link>https://medium.com/@lizahumuza/javascript-recursion-1ab163650e6f?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ab163650e6f</guid>
            <category><![CDATA[recursion]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Wed, 12 Apr 2023 08:25:14 GMT</pubDate>
            <atom:updated>2023-04-12T08:25:14.465Z</atom:updated>
            <content:encoded><![CDATA[<p>Recursion is simply the process by which a function calls itself. Recursive functions are used to solve big problems by breaking them down into sub problems(Divide and Conquer). Each sub-problem can be solved recursively until the base case is reached, which is the smallest problem that can be solved without recursion. The base case is the condition that stops the recursion from calling itself repeatedly, and instead returns a value.</p><p>From the <a href="http://en.wikipedia.org/wiki/Divide_and_conquer_algorithm">Wikipedia entry on Divide and Conquer Algorithms</a>:</p><blockquote>In computer science, divide and conquer (D&amp;C) is an important algorithm design paradigm based on multi-branched recursion. A divide and conquer algorithm works by recursively breaking down a problem into two or more sub-problems of the same (or related) type, until these become simple enough to be solved directly. The solutions to the sub-problems are then combined to give a solution to the original problem.</blockquote><p>An example of a recursive function is as follows; Suppose we want to calculate the sum of natural numbers from 1 to n using recursion. This is what is going to happen</p><p>First we need to define the base case.</p><pre>function sum(n) {<br>  if (n === 1) {<br>    return 1;<br>  }<br>}</pre><p>As you can see in this case, we have n is equal to 1 because the sum of natural numbers from 1 to 1 is simply just equal to 1.</p><p>Next we are going to define the recursive part. Our recursive part is when n is greater than 1 and we need to add n to the sum of natural numbers from 1 to n-1.</p><pre>function sum(n) {<br>  if (n === 1) {<br>    return 1;<br>  } else {<br>    return n + sum(n-1);<br>  }<br>}</pre><p>In this case we call the sum function again, this time round with n-1 as the argument and we add n to the result of that call. This process will continue untill the base case is reached, at which point we will start to return values up the call stack.<br>Our output for n=5 is this;</p><pre>sum(5)<br>5 + sum(4)<br>5 + (4 + sum(3))<br>5 + (4 + (3 + sum(2)))<br>5 + (4 + (3 + (2 + sum(1))))<br>5 + (4 + (3 + (2 + 1)))<br>15</pre><p>As seen above, our function calls itself repeatedly untill it reaches the base case of n=1, and it then starts to return values up the stack. In this particular case our final result is 15 which is the sum of natural numbers from 1 to 5.</p><p>In conclusion, recursion can be a powerful tool for solving complex problems, but it is important to be careful with how it is used. Recursive functions can be slower and more memory-intensive than iterative solutions, and they can also be more difficult to debug. However, when used correctly, recursion can help to simplify complex problems and make code easier to understand and maintain.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ab163650e6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The ultimate solution to procrastination]]></title>
            <link>https://medium.com/@lizahumuza/the-ultimate-solution-to-procastination-f9fbdd4fa22?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9fbdd4fa22</guid>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Thu, 12 Jan 2023 17:27:06 GMT</pubDate>
            <atom:updated>2024-07-15T08:24:38.137Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uhGiHe21OZ1pIzjZwBSFBA.jpeg" /></figure><p>Are you the type of person who always postpones their tasks? Guess what! I have a solution for you!</p><p>The Tomato Timer also known as the Pomodoro Technique is a great tool to use to help you overcome your procrastination problems. <br>The Pomodoro Technique is a time management method that uses a timer to break down work into intervals, traditionally 25 minutes in length, separated by short breaks. The technique is named after the tomato-shaped kitchen timer that Cirillo used as a university student.<br>The tomato timer is the digital modern version of the Pomodoro Technique. It can be accessed online on the internet using your mobile phone or laptop by simply visiting this website <a href="http://www.tomatotimers.com/">http://www.tomatotimers.com/</a></p><p><strong>How does it work?<br></strong>1. You set your timer for 25 minutes, and you use those minutes to focus on a specific task.<br>2. After the 25 minutes are up, you take a short break, usually 5 minutes<br>3. After the break you set back the timer to the 25-minute time interval and then use that time to concentrate again. You repeat the sequence until you have accomplished your tasks.</p><p>One of the key benefits of the Tomato Timer is that it helps you to stay focused and on task. By breaking down work into shorter intervals, it is easier for you to avoid distractions and stay focused on the task at hand. This can help to increase your productivity and reduce the amount of time it takes for you to complete a task.</p><p>Another benefit of the Tomato Timer is that it encourages you to take regular breaks. Taking breaks is important for maintaining focus and preventing a burnout. And the Tomato Timer can help you adopt the habit of building regular breaks in your work schedule.</p><p>You can use the tomato timer for a wide range of tasks such as writing an article to studying for an exam. It is particularly useful for tasks that require sustained focus and concentration, such as programming or writing.</p><p>In summary, the Tomato Timer is a simple but effective tool that can help you increase your productivity and stay focused. By breaking work into shorter intervals and encouraging regular breaks, it can help to improve focus and reduce the amount of time it takes to complete a task.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9fbdd4fa22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The key to clean code: Mastering the JavaScript module pattern]]></title>
            <link>https://medium.com/@lizahumuza/the-key-to-clean-code-mastering-the-javascript-module-pattern-598388833da2?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/598388833da2</guid>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 18:34:34 GMT</pubDate>
            <atom:updated>2023-04-12T09:13:19.994Z</atom:updated>
            <content:encoded><![CDATA[<p>The JavaScript module pattern is a way to structure your code in a more organized and maintainable way. It allows you to create “modules” which are self-contained pieces of code that can be reused throughout your application.</p><p>A module is essentially a JavaScript object that contains a set of functions and variables. These functions and variables are called “members” of the module, and they can be used to perform specific tasks or store data.</p><p>One of the main advantages of using the module pattern is that it allows you to keep your code organized and avoid naming conflicts. For example, if you have a function called “doSomething” in one module, and another function with the same name in another module, they will not interfere with each other because they are defined in separate scopes.</p><p>There are several different ways to implement the module pattern in JavaScript, but one of the simplest ways is to use an anonymous closure.<br> This is a function that is immediately invoked and returns an object with the members of the module. Here is an example of a simple module that has two members, a variable called “a” and a function called “increment”:</p><pre>const module = (function() {<br>  const a= 1;<br>  <br>  function decrement() {<br>    a -= 1;<br>  }<br>  <br>  return {<br>    a: a,<br>    decrement: decrement<br>  };<br>})();</pre><p>In this example, the function is immediately invoked and returns an object with two properties, “x” and “incrementX”. The variable “x” is defined inside the anonymous function and is therefore private to the module. The function “incrementX” is also defined inside the anonymous function and can access and modify the private variable “x”.</p><p>One way to access the property x is :</p><pre>console.log(myModule.a) // 1</pre><p>One way to access the function incrementX is :</p><pre>module.decrement();<br>console.log(module.a) // 0</pre><p>It is worth noting that you can also define a variable and function inside the returned object so as to make them public and accessible to the outside scope.</p><p>In summary, the JavaScript module pattern is a powerful tool for organizing and structuring your code. By creating self-contained modules, you can improve the maintainability and reusability of your code, and avoid naming conflicts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=598388833da2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do you want to write neat, organized and high quality code?]]></title>
            <link>https://medium.com/@lizahumuza/do-you-want-to-write-neat-organized-and-high-quality-code-10ba0249e56b?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/10ba0249e56b</guid>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Mon, 09 Jan 2023 20:31:36 GMT</pubDate>
            <atom:updated>2023-01-12T08:50:16.833Z</atom:updated>
            <content:encoded><![CDATA[<p>Linting is definitely the solution to your problems. Linting is a tactical process of checking code for stylistic or programming errors. It is an important part of the development process as it can help catch mistakes early on and ensure that code complies to a certain style guide. In JavaScript, there are a number of tools accessible for linting, each with its own set of rules and configurations.</p><p>One of the most prominent tools for linting in JavaScript is ESLint. It is an open-source linting utility that allows developers to define a set of rules to enforce consistent coding conventions. It can be configured with a configuration file in your project or with a set of default rules.</p><p>To use ESLint, you will first need to install it as a dev dependency in your project. This can be done using npm or yarn by running the following command:</p><pre>npm install eslint --save-dev</pre><p>or</p><pre>yarn add eslint -D</pre><p>Once ESLint is installed, you can set it up by creating a configuration file in your project. This file, usually named .eslintrc, contains a set of rules that ESLint will use to lint your code. You can either create this file manually or use the eslint --init command to generate a basic configuration file.</p><p>In addition to the default rules, you can also install additional plugins that provide additional rules and functionality. For example, the eslint-plugin-react plugin adds linting rules specifically for React projects.</p><p>Another prominent linting tool in JavaScript is JSLint. It is a static code analysis tool that checks code for patterns that could potentially be errors. JSLint is less customizable than ESLint, as it enforces a specific set of rules rather than allowing developers to define their own.</p><p>There are also a number of other linting tools accessible for JavaScript, such as JSHint and StandardJS. Ultimately, the choice of which linting tool to use will depend on the needs and preferences of your project.</p><p>In conclusion, linting is an important part of the development process as it helps ensure that code is of high quality and adheres to consistent conventions. There are a number of tools accessible for linting in JavaScript, each with its own set of features and capabilities. Choosing the right linting tool for your project can help you identify mistakes early on and improve the overall quality of your code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10ba0249e56b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Constructors in JavaScript]]></title>
            <link>https://medium.com/@lizahumuza/constructors-in-javascript-68b504099952?source=rss-cec5859aeb2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/68b504099952</guid>
            <dc:creator><![CDATA[liz ahumuza]]></dc:creator>
            <pubDate>Fri, 06 Jan 2023 18:47:06 GMT</pubDate>
            <atom:updated>2023-01-06T18:47:06.283Z</atom:updated>
            <content:encoded><![CDATA[<p>Constructors are special functions in JavaScript that are used to create and initialize objects. They are similar to classes in other programming languages, but in JavaScript, they do not have the class keyword. Instead, they are created using a function.</p><p>To create a constructor function, you simply need to use the function keyword followed by the name of the constructor, which is typically written in CamelCase. For example:</p><p>function Book(title, pages) { <br> this.title = title; <br> this.pages = pages; <br>}</p><p>This constructor function creates a Book object that has two properties: title and pages.</p><p>To use the constructor to create an object, you need to use the new keyword followed by the constructor function. For example:</p><p>let book1 = new Book(&quot;The Hero&quot;, 330); <br>let book2 = new Book(&quot;The widow&quot;, 125);</p><p>This will create two Book objects, book1 and book2, with the respective title and page properties.</p><p>Constructors can also have methods, which are functions that belong to the object. For example:</p><pre>function Book(title, pages) {<br>  this.title = title;<br>  this.pages = pages;<br>  this.displayBook = function() {<br>    console.log(&quot;Hello, the book on display is &quot; + this.name);<br>  }<br>}</pre><pre>let book1 = new Book(&quot;The wizard&quot;, 220);<br>book1.displayBook(); // Outputs &quot;Hello, the book on display is The wizard&quot;</pre><p>In this example, the Book constructor has a method called displayBook that outputs a greeting with the title of the book.</p><p>Constructors are a powerful way to create and initialize objects in JavaScript and are an important concept to understand in object-oriented programming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68b504099952" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>