<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Confidence Ufuoma</title>
    <description>The latest articles on DEV Community by Confidence Ufuoma (@plantcodess).</description>
    <link>https://dev.to/plantcodess</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1247002%2Fead2a1e0-d04a-4657-ae9a-8b178cf10728.jpg</url>
      <title>DEV Community: Confidence Ufuoma</title>
      <link>https://dev.to/plantcodess</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/plantcodess"/>
    <language>en</language>
    <item>
      <title>Tech Communities: Important Secrets Everyone Should Know</title>
      <dc:creator>Confidence Ufuoma</dc:creator>
      <pubDate>Fri, 23 Aug 2024 17:56:05 +0000</pubDate>
      <link>https://dev.to/mlasunilag/tech-communities-important-secrets-everyone-should-know-3d8p</link>
      <guid>https://dev.to/mlasunilag/tech-communities-important-secrets-everyone-should-know-3d8p</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;"I just started learning tech and I feel so lost. I feel alone, and it’s making me want to quit."&lt;br&gt;&lt;br&gt;
"Where do I even get the resources I need to keep going on my tech journey?"&lt;br&gt;&lt;br&gt;
"There are too many resources. I feel overwhelmed. How do I know which one to stick with?"&lt;br&gt;&lt;br&gt;
"How do I find accountability partners or even mentors?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;…and the questions keep coming.&lt;/p&gt;

&lt;p&gt;I’m thrilled to tell you that the answer to all these questions can be summed up in a 9-letter word: C-O-M-M-U-N-I-T-Y. Surprised? Read to the end.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Community?
&lt;/h2&gt;

&lt;p&gt;I love how Google’s Gemini keeps the definition simple:&lt;br&gt;&lt;br&gt;
"A community is essentially a group of people who share a common identity, interest, or location." You either join a community where you share a common identity, interest, or location.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Join a Tech Community as a Techie?
&lt;/h2&gt;

&lt;p&gt;From my experience in different communities, I can easily pinpoint several reasons why people join them. Here are a few:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Self-development&lt;/li&gt;
&lt;li&gt;Networking&lt;/li&gt;
&lt;li&gt;Resources and opportunities&lt;/li&gt;
&lt;li&gt;Internships&lt;/li&gt;
&lt;li&gt;Volunteering roles&lt;/li&gt;
&lt;li&gt;Motivation&lt;/li&gt;
&lt;li&gt;Collaborations&lt;/li&gt;
&lt;li&gt;Partners (someone somewhere is looking for a partner in a tech community. lol)&lt;/li&gt;
&lt;li&gt;Mentorship&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Secrets of Tech Communities
&lt;/h2&gt;

&lt;p&gt;Many of us are already in communities, but the big question is: How do we harness their power? How do we maximize their full potential? Here are 2 important secrets everyone should know:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Filter out your communities.
&lt;/h3&gt;

&lt;p&gt;A lot of us have lost track of how many communities we’re in, but if we ask ourselves, how much have we gained from being in so many? Therein lies the problem. You need to be honest with yourself.&lt;/p&gt;

&lt;p&gt;Here’s a simple template you can use to filter out communities:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why did I join this community?
&lt;/li&gt;
&lt;li&gt;Since joining, what have I gained in terms of connections, resources, knowledge, etc.?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The purpose of filtering is to identify which communities you should focus on and which ones to leave. Imagine getting over 20,000+ messages from communities you never even open—what’s the point? I personally don’t like having a lot of unread messages.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Dedicate your time.
&lt;/h3&gt;

&lt;p&gt;To truly leverage the power of a community, you need to pay attention. Read the messages, participate in activities, get to know some names, and even make friends. It’s up to you. It’s really about dedicating your time. As a wise woman once said, &lt;strong&gt;"Time is the only currency to cash out from communities."&lt;/strong&gt; (And yes, I’m that wise woman—lol.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Pardon the cliché, but I didn’t have to rack my brain too much for this quote:&lt;br&gt;&lt;br&gt;
&lt;strong&gt;"If you want to go fast, go alone. If you want to go far, go together."&lt;/strong&gt; I believe this quote speaks for itself.&lt;/p&gt;

&lt;p&gt;One thing I’ve realized on my tech journey is that the number of communities you’re in has nothing to do with how quickly you achieve your goals. Be intentional about the communities you’re part of, and thank me later.&lt;/p&gt;

</description>
      <category>community</category>
      <category>techtalks</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Understanding JavaScript Functions; The Beginner's Guide.</title>
      <dc:creator>Confidence Ufuoma</dc:creator>
      <pubDate>Tue, 14 May 2024 19:39:38 +0000</pubDate>
      <link>https://dev.to/mlasunilag/understanding-javascript-functions-the-beginners-guide-2f0a</link>
      <guid>https://dev.to/mlasunilag/understanding-javascript-functions-the-beginners-guide-2f0a</guid>
      <description>&lt;p&gt;As a programmer,  you often need to perform a similar action repeatedly throughout some parts of your code.&lt;br&gt;
For example, you want to send a message that says "Hello and Welcome to xoxo website" for every visit you get on your website. Imagine getting over 100 visits per day. It makes sense to write a code that sends the message once and calls it anywhere you need it. This is the essence of functions.&lt;/p&gt;
&lt;h2&gt;
  
  
  What is a JavaScript Function?
&lt;/h2&gt;

&lt;p&gt;A JavaScript function is a block of reusable code. It is a named section of code that can be executed multiple times. A function can perform many tasks ranging from basic calculations to any task you can think of.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"The best thing about JavaScript is its implementation of functions. It got almost everything right." -Douglas Crockford, JavaScript Expert.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;
  
  
  Defining JavaScript Functions
&lt;/h2&gt;

&lt;p&gt;There are two common ways to define functions in JavaScript.    &lt;/p&gt;
&lt;h3&gt;
  
  
  1. Function Declaration
&lt;/h3&gt;

&lt;p&gt;To declare a function, use the syntax below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;  &lt;span class="kd"&gt;function&lt;/span&gt;  &lt;span class="nf"&gt;websiteMessage&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt;
    &lt;span class="nf"&gt;alert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Hello and Welcome to xoxo website&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the function keyword first then write the function's name followed by parentheses. &lt;br&gt;
You can give the function any name you want, but ensure it is descriptive and easy to read.&lt;br&gt;
Inside the curly braces ({}), write the code you want the function to perform when you call it.&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Function Expression
&lt;/h3&gt;

&lt;p&gt;Function expression is done by assigning functions to a variable.&lt;br&gt;&lt;br&gt;
The syntax is similar to function declarations, but the function name is optional.&lt;/p&gt;

&lt;p&gt;Here is an example defining a function using function expression.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;websiteMessage&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt;
     &lt;span class="c1"&gt;//write code here&lt;/span&gt;
    &lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How to Call a JavaScript Function
&lt;/h2&gt;

&lt;p&gt;To call a function, write the function name followed by a pair of parentheses. Always remember that JavaScript will not execute the function without the parentheses.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;websiteMessage&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt;
    &lt;span class="c1"&gt;//write code&lt;/span&gt;
    &lt;span class="p"&gt;};&lt;/span&gt;

&lt;span class="nf"&gt;websiteMessage&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;   &lt;span class="c1"&gt;//this action calls and executes the function&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Function Parameters and Arguments
&lt;/h2&gt;

&lt;p&gt;In JavaScript, a common point of confusion for beginners is understanding the difference between arguments and parameters. Although they are used interchangeably, they have different meanings and contexts. &lt;/p&gt;

&lt;h3&gt;
  
  
  Function Parameters
&lt;/h3&gt;

&lt;p&gt;These are the variables that you define or use during the function declaration. These variables act as placeholders for the actual values that the function receives upon call.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;addNumbers&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;};&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the function above, &lt;code&gt;a&lt;/code&gt; and &lt;code&gt;b&lt;/code&gt; are &lt;strong&gt;parameters&lt;/strong&gt;. They are the variables used in the function declaration to indicate that the function &lt;code&gt;addNumbers&lt;/code&gt; operates on two inputs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Function Arguments
&lt;/h3&gt;

&lt;p&gt;These are the actual values that are passed into the function upon call.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nf"&gt;addNumbers&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, &lt;code&gt;3&lt;/code&gt; and &lt;code&gt;7&lt;/code&gt; are &lt;strong&gt;arguments&lt;/strong&gt;. They are the actual values that are passed into the function upon call. The function &lt;code&gt;addNumbers&lt;/code&gt; executes with &lt;code&gt;a&lt;/code&gt; and &lt;code&gt;b&lt;/code&gt; replaced by &lt;code&gt;3&lt;/code&gt; and &lt;code&gt;4&lt;/code&gt; respectively during the function's execution.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common Mistakes in defining functions
&lt;/h2&gt;

&lt;p&gt;When working with functions in JavaScript as a beginner, it is easy to make mistakes. Here's a list of common mistakes beginners make when defining functions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Forgetting to include a return statement in functions&lt;/strong&gt;: This mistake can lead to unexpected results because the function may not return the expected value or may return undefined. &lt;br&gt;
Use the return statement on functions that have expected results. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Not calling functions with parentheses&lt;/strong&gt;: Functions need to be called with parentheses in JavaScript to execute the code inside them. Not doing so results in a syntax error. &lt;br&gt;
Always include parentheses when calling a function, even if it doesn't require any arguments.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Confusing parameters and arguments&lt;/strong&gt;:  Understanding the difference between parameters and arguments is essential for working effectively with functions in JavaScript(explanation provided above). &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Use JavaScript Functions?
&lt;/h2&gt;

&lt;p&gt;Functions serve a great purpose for programmers. It is also a good way of practicing the &lt;a href="https://en.wikipedia.org/wiki/Don%27t_repeat_yourself#:~:text=%22Don't%20repeat%20yourself%22,redundancy%20in%20the%20first%20place." rel="noopener noreferrer"&gt;Don't Repeat Yourself (DRY)&lt;/a&gt; programming principle.&lt;br&gt;
Here are some advantages of functions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Reduced Redundancy: Instead of writing the same code repeatedly, you can create a function and call it whenever needed. This saves time and effort.&lt;/li&gt;
&lt;li&gt;Improved Organization: Functions help structure your code by grouping related tasks, making it easier to read and understand.&lt;/li&gt;
&lt;li&gt;Better Maintainability: In instances where you need to modify a specific task, you only have to change the code within the function, not throughout your entire code.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Functions are fundamental building blocks of JavaScript programming. By understanding how to define and call functions, you can write cleaner, more efficient, and maintainable code.  &lt;/p&gt;

</description>
      <category>javascript</category>
      <category>beginners</category>
      <category>functions</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
