<?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: Banesa Guaderrama</title>
    <description>The latest articles on DEV Community by Banesa Guaderrama (@banesag).</description>
    <link>https://dev.to/banesag</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%2F111684%2Fd254d91d-699b-49e4-b9c8-a009b83cdcc0.png</url>
      <title>DEV Community: Banesa Guaderrama</title>
      <link>https://dev.to/banesag</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/banesag"/>
    <language>en</language>
    <item>
      <title>Coding Bootcamp – About to finish… or, about to start!</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Fri, 04 Jan 2019 06:04:58 +0000</pubDate>
      <link>https://dev.to/banesag/coding-bootcamp--about-to-finish-or-about-to-start-15bg</link>
      <guid>https://dev.to/banesag/coding-bootcamp--about-to-finish-or-about-to-start-15bg</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OyHh0Bxa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://images.unsplash.com/photo-1531482615713-2afd69097998%3Fixlib%3Drb-1.2.1%26ixid%3DeyJhcHBfaWQiOjEyMDd9%26auto%3Dformat%26fit%3Dcrop%26w%3D750%26q%3D80%250A%253Ch3%253ECoding%2520Bootcamp%253C/h3" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OyHh0Bxa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://images.unsplash.com/photo-1531482615713-2afd69097998%3Fixlib%3Drb-1.2.1%26ixid%3DeyJhcHBfaWQiOjEyMDd9%26auto%3Dformat%26fit%3Dcrop%26w%3D750%26q%3D80%250A%253Ch3%253ECoding%2520Bootcamp%253C/h3" alt="alt"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have had a busy time over the last five month trying to keep motivated not just to complete every single project the best I can, but to really understand what am I doing, time has fly and even though I am in the last weeks and about to complete the program, I am realizing that I am not about to finish but about to start.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;About to start&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;… yes! About to start coding by myself without the support and instruction of my Instructors and TAs … about to start looking for a job position where I can apply what I have supposed to learn over this past months and the remaining of the time I will be in the bootcamp… just one more month that seems long as I feel physically (and mentally) tired … but at the same time it looks that is not enough time to start planning and completing my final project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;About to finish&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Wow… &lt;/p&gt;

&lt;p&gt;I can not believe how quick the time went and I feel panic of thinking that I need to be ready to start doing things by myself while the end of the bootcamp approaches. I know, that once the bootcamp finishes I will need to pick up my notes, clean up my code, re-read assignments and re-do some others, read topic related books and blogs, and look for additional resources to keep myself learning.&lt;/p&gt;

&lt;p&gt;I am happy I decided to start this journey and I am happy I did not give up when I felt overwhelmed because I learned a new set of skills that allows me to create . And, I did it in the best time of my life.&lt;/p&gt;

</description>
      <category>coding</category>
      <category>bootcamp</category>
      <category>begginers</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Coding Resolutions 2019</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Fri, 04 Jan 2019 05:55:24 +0000</pubDate>
      <link>https://dev.to/banesag/coding-resolutions-2019-2a54</link>
      <guid>https://dev.to/banesag/coding-resolutions-2019-2a54</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--r0W09WSN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://images.unsplash.com/photo-1520316750891-270e081d94d8%3Fixlib%3Drb-1.2.1%26ixid%3DeyJhcHBfaWQiOjEyMDd9%26auto%3Dformat%26fit%3Dcrop%26w%3D858%26q%3D80" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--r0W09WSN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://images.unsplash.com/photo-1520316750891-270e081d94d8%3Fixlib%3Drb-1.2.1%26ixid%3DeyJhcHBfaWQiOjEyMDd9%26auto%3Dformat%26fit%3Dcrop%26w%3D858%26q%3D80" alt="alt"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Happy New Year!!!&lt;/h3&gt;

&lt;p&gt;This year my resolutions are different than other years, this year I have coding and programming resolutions. Its is important for me because I feel I have not dedicated the time as I should, so this is a great time for me to reconsider and reorganize my daily activities, specially related to programming.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.Don’t be lazy&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Code more on my free(no-coding) time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.Get more familiar with new programs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Keep an eye and some practice in a new programming language, framework, or library – it always helps to get out of comfort zone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.Patience…&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Be patient with myself when coding is not rendering as expected, look through the different variables, step by step, without hesitation. And, be patient with others that can require from your help since I have been blessed with more than user an additional pair of eyes over my code when it is not working as intended.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4.Be aware of poor code practices and avoid them&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is a resolution and a best practice that will save me from a non-working code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.Network, mentor, and assist&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Is important to grow your network, you never know when you will need the help of someone in your field, mentor and assist others since it is not just a way to support others, but it will keep your skills refreshed and up-to-date.&lt;/p&gt;

&lt;p&gt;That’s my 2019 coding resolutions and since I have a bad history of keeping resolutions, I will start with just five. &lt;/p&gt;

&lt;p&gt;I can do this. &lt;/p&gt;

&lt;p&gt;What are your resolutions? Happy New Year!&lt;/p&gt;

</description>
      <category>coding</category>
      <category>webdev</category>
      <category>codingresolutions</category>
      <category>happynewyear2019</category>
    </item>
    <item>
      <title>Arrow Functions</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Sat, 22 Dec 2018 05:50:09 +0000</pubDate>
      <link>https://dev.to/banesag/arrow-functions-16fk</link>
      <guid>https://dev.to/banesag/arrow-functions-16fk</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VQN3Eu1R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/d4kx8m9n7g262k5juxb7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VQN3Eu1R--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/d4kx8m9n7g262k5juxb7.jpg" alt="alt"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Arrow Functions&lt;/h3&gt;

&lt;p&gt;Arrow function was introduced in ES6 using a new syntax for declaring functions called the &lt;strong&gt;arrow&lt;/strong&gt; syntax. This new syntax uses less verbose syntax.&lt;/p&gt;

&lt;p&gt;Arrow function can easily identified by the arrow symbol ‘ =&amp;gt; ’ from where it gets its name. As part the syntax and rules for writing arrow functions is that the parameters come before the arrow element and the main body of the function comes after. &lt;/p&gt;

&lt;p&gt;Arrow functions are always anonymous, and you need to assign them to a variable, so you can refer to them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantage&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;There are numerous advantages of using arrow functions over other function declaration methods:&lt;/p&gt;

&lt;p&gt;-They are much less verbose&lt;br&gt;
-Do not need to use parentheses for single parameters&lt;br&gt;
-The body of the function does not need to be placed inside a block if it is only one line&lt;br&gt;
-If the return statement is the only statement in the body of the function, the return keyword is not required&lt;br&gt;
-They do not bind their own value of &lt;strong&gt;this&lt;/strong&gt; to the function&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const square = x =&amp;gt; x*x;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;In this example the ‘x’ did not need to be in parentheses because is only one parameter; multiple parameters needs to go inside parentheses. &lt;/p&gt;

&lt;p&gt;Example with two parameters:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const add = (x,y) =&amp;gt; x = y;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;But if the function does not require any parameters you can use empty parameters before the arrow symbol:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const hello = ( ) =&amp;gt; alert(‘Hello World!’);
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;In all these examples the function fits onto one line, so there is no need to put them inside a block. But for longer functions you will require to use curly brackets to define the body of the function and the return keywork at the end.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const tax = (salary) =&amp;gt; {
const taxable = salary – 5000;
const lowerRate = 0.25 * taxable;
taxable = taxable -15000;
const higherRate = 0.4 * taxable;
return lowerRate + higherRate;
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;As you can see the benefit of using arrow functions is lost when using it in a longer function. Arrow functions are a better fit for short and anonymous functions.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>functions</category>
    </item>
    <item>
      <title>Defining Functions</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Sat, 22 Dec 2018 05:04:44 +0000</pubDate>
      <link>https://dev.to/banesag/defining-functions-3dml</link>
      <guid>https://dev.to/banesag/defining-functions-3dml</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Bi_X_DV9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/rbd6k57twk4lh3pfsvix.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Bi_X_DV9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/rbd6k57twk4lh3pfsvix.jpg" alt="alt text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Defining a function&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Function Declarations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There are different ways to define a function in JavaScript, but I will cover three of the most common. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Function Literal&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To define a function literal, you can use a function declaration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function hello( ) {
console.log(‘Hello World!’);
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;The syntax of this function starts by starting with the function keyword and is followed by the name assigned to the function, in this case ‘hello’ followed by parenthesis and finally followed by a block of code for the function.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Function Expressions&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Function expressions is another way to define a function, this is done by assigning an anonymous function to a variable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const bye = function ( ) {
console.log(‘Bye World’);
};
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;It is called anonymous function because it does not have a name. It is just created and assigned to a variable.&lt;/p&gt;

&lt;p&gt;But, you can also create a named function expression:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const bye = function bye( ) {
console.log(‘Bye World’);
};
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;In this case the name of the function is ‘bye’ and it is assigned to the variable ‘goodbye’.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Function ( ) Constructors&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We can also create a function by using the Constructor Function ( ). It’s body is entered as a string:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const hi = new function (‘console.log(“Hi World”);  ) ;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Although this is another way to define a function, it is not recommended because there are some problems associated with placing a string inside the function body, specially because of the different number of quotation marks in the console.log.&lt;/p&gt;

&lt;p&gt;ES6 introduced a new way to define functions using arrow notation, named 'Arrow Function, but I will make a new blog about it.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>functions</category>
    </item>
    <item>
      <title>Sorting Arrays of Strings in JavaScript</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Thu, 13 Dec 2018 18:26:50 +0000</pubDate>
      <link>https://dev.to/banesag/sorting-arrays-of-strings-in-javascript-2g11</link>
      <guid>https://dev.to/banesag/sorting-arrays-of-strings-in-javascript-2g11</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcavkolf1c28khs3o9rgr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcavkolf1c28khs3o9rgr.png" alt="alt text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Sorting Arrays of Strings&lt;/h3&gt;

&lt;p&gt;In JavaScript arrays have a &lt;strong&gt;sort( )&lt;/strong&gt; method that sorts the array items into an alphabetical order. &lt;/p&gt;

&lt;p&gt;The following illustrates the syntax of the &lt;strong&gt;sort( )&lt;/strong&gt;method:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

Array.sort([comparer])


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The &lt;strong&gt;sort( )&lt;/strong&gt; method accepts an optional argument which is a function that compares two elements of the array.&lt;/p&gt;

&lt;p&gt;If the compare function is omitted, then the &lt;strong&gt;sort( )&lt;/strong&gt; method will sort the element based on the elements values.&lt;/p&gt;

&lt;p&gt;Elements values rules:&lt;/p&gt;

&lt;p&gt;1.If &lt;strong&gt;compare (a,b)&lt;/strong&gt; is less than zero, the &lt;strong&gt;sort( )&lt;/strong&gt; method sorts &lt;strong&gt;a&lt;/strong&gt; to a lower index than &lt;strong&gt;b&lt;/strong&gt;. In other words, &lt;strong&gt;a&lt;/strong&gt; will come first.&lt;br&gt;
2.If &lt;strong&gt;compare (a,b)&lt;/strong&gt; is greater than zero, the &lt;strong&gt;sort( )&lt;/strong&gt; method sort &lt;strong&gt;b&lt;/strong&gt; to a lower index than &lt;strong&gt;a&lt;/strong&gt;, i.e., &lt;strong&gt;b&lt;/strong&gt; will come first.&lt;br&gt;
3.If &lt;strong&gt;compare (a,b)&lt;/strong&gt; returns zero, the &lt;strong&gt;sort ( )&lt;/strong&gt; method considers a equals b and leaves their positions unchanged.&lt;/p&gt;

&lt;p&gt;Also, note that the &lt;strong&gt;sort( )&lt;/strong&gt; method accepts two arguments and will return a value that determines the sort order, the following represents the syntax:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

function compare (a, b) {
   / …
}


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Note: Remember that a function can be named as you want, but try to make the name meaningful to what you are trying to said through that function for an easy reference.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sorting Arrays of Strings&lt;/strong&gt;&lt;br&gt;
Let's practice with an array of string named &lt;strong&gt;animals&lt;/strong&gt;, as follows:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

var animals = [
    'cat', 'dog', 'elephant', 'bee', 'ant'
];


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;To sort the elements of the &lt;strong&gt;animals&lt;/strong&gt; array in ascending order alphabetically, we need to use the &lt;strong&gt;sort( )&lt;/strong&gt; method without passing the compare function as in the example:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

animals.sort();
console.log(animals);
// ["ant", "bee", "cat", "dog", "elephant"]


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;To sort the &lt;strong&gt;animals&lt;/strong&gt; array in descending order, you will need to change the logic of the compare function and pass it to the &lt;strong&gt;sort( )&lt;/strong&gt; method as the following example.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

// descending order
animals.sort(function (a, b) {
    if (a &amp;gt; b) {
        return -1;
    }
    if (b &amp;gt; a) {
        return 1;
    }
    return 0;
});
console.log(animals);
// ["elephant", "dog", "cat", "bee", "ant"]


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Of course, this is only a tiny piece of sorting array elements because we can use the &lt;strong&gt;sort( )&lt;/strong&gt; method also to sort by upper and lower case, numbers, and objects by property.&lt;/p&gt;

</description>
      <category>arrays</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>JavaScript Fatigue</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Thu, 06 Dec 2018 22:01:20 +0000</pubDate>
      <link>https://dev.to/banesag/javascript-fatigue--bhh</link>
      <guid>https://dev.to/banesag/javascript-fatigue--bhh</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1zyveybcyisw9s45f3ec.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1zyveybcyisw9s45f3ec.jpg" alt="alt text" width="500" height="331"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;What is JavaScript fatigue?&lt;/h3&gt;

&lt;p&gt;While researching about JavaScript it came to my attention the term &lt;strong&gt;JavaScript Fatigue&lt;/strong&gt;; over the last months I have spend a lot of time researching on the different related JavaScript topics and for sure I am not alone in this task, it looks that every time I need to learn or understand something new about this topic it takes me to different routes (which I have enjoyed).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JavaScript Growth&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JavaScript fatigue is the result of the JavaScript ecosystem growth, its extenuating and continually growth popularity and the demand of Full-Stack developers as well as the different coding bootcamps educating and teaching to code has impacted the use, application, and need to learn not just about JavaScript but the tools that can enhance the development of apps and websites.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Too Many Tools and Frameworks&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can virtually build anything using JavaScript, well, yes! But with the help of ES6, jQuery, React, Redux, Webpack, Babel, TDD, JEST, Git, async, OOP, functional-style, npm, Node.js, Yarn, SQL, NoSQL, Graph databases, MongoDB, Angular, etc., etc, etc.&lt;/p&gt;

&lt;p&gt;Using the different frameworks and libraries that better fit to the app or development you are working on will enhance your code workflow.  Even though you can do a lot with plain vanilla JavaScript, HTML, and CSS; modern JavaScript provides you with a huge choice of tools that will enrich your development.&lt;/p&gt;

&lt;p&gt;It can look overwhelmed specially for beginners at first (including me) but understanding the way the different tools and libraries work will set you apart from the crowd during the job hunt and as professional.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Benefit&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The benefit of using the different tools and frameworks is that some are boiler-plate libraries that you can use without restrictions or no need to change to much from the original.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;JavaScript is the ecosystem of many other tools, frameworks and libraries, so the importance of been up-to-date with these technologies requires you to be attentive to all the different updates and changes around these tools if you want to use the most recent and new additions while developing your apps or when collaborating with other developers.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>programming</category>
      <category>coding</category>
    </item>
    <item>
      <title>Git and GitHub</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Thu, 06 Dec 2018 18:49:50 +0000</pubDate>
      <link>https://dev.to/banesag/git-and-github-5ep1</link>
      <guid>https://dev.to/banesag/git-and-github-5ep1</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Frl1d826ocqfkifpqgn52.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Frl1d826ocqfkifpqgn52.jpg" alt="alt text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Git and GitHub for Beginners&lt;/h3&gt;

&lt;p&gt;If you are new to coding, you can be overwhelmed with all the new technologies you will start using, not just by its installation but its use itself. One of the most used and commented between programmers is Git and GitHub.&lt;/p&gt;

&lt;p&gt;But what is the difference. Git is a free and distributed version control system, it is considered modern and mature; it is and actively maintained open source. It allows tracking changes in computer files and project collaboration with more than one person; one of its main characteristics is its efficiency handling large projects. In other words, is a tool to manage your source code or repositories.&lt;br&gt;
GitHub is a hosting service for the Git repositories, so even when they are not the same, they work together: Git is a tool, and GitHub is the hosting server for projects using Git.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install Git and create GitHub Account&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can follow the installation link and it will walk you through all the installation steps, there is also the option to install it through the command line, but I will not include it in this post.&lt;/p&gt;

&lt;p&gt;For Mac, follow the link:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://git-scm.com/download/mac" rel="noopener noreferrer"&gt;http://git-scm.com/download/mac&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For windows, follow the link:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://git-scm.com/download/win" rel="noopener noreferrer"&gt;http://git-scm.com/download/win&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a GitHub account&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Steps:&lt;/p&gt;

&lt;p&gt;1.Go to the GitHub sign up page. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fcw5fhwdvcjyio04lvf5g.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fcw5fhwdvcjyio04lvf5g.jpg" alt="alt text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Enter a username, valid email address, and letter, one numeral, and seven characters.&lt;/p&gt;

&lt;p&gt;3.Review carefully the GitHub Terms of Service and Privacy Policy before continuing. Upon clicking the “Create an account” button you will simultaneously be agreeing to these documents.&lt;/p&gt;

&lt;p&gt;4.Choose a plan. You have two choices: Free and paid. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fp0axosp36lqk7enazjci.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fp0axosp36lqk7enazjci.jpg" alt="alt text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5.Tailor your experience. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fhxlh3yncjl4hohe7yj55.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fhxlh3yncjl4hohe7yj55.png" alt="alt text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6.Your GitHub account is created!&lt;/p&gt;

&lt;p&gt;Enjoy your coding !!!&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Open Source Contributions</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Tue, 04 Dec 2018 22:30:51 +0000</pubDate>
      <link>https://dev.to/banesag/open-source-contributions-l0d</link>
      <guid>https://dev.to/banesag/open-source-contributions-l0d</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpm69jtt3lsqzfeqni98l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpm69jtt3lsqzfeqni98l.png" alt="alt text" width="640" height="320"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Benefits of Contributing an Open Source Project&lt;/h3&gt;

&lt;p&gt;Opensource is a great way not just to contribute to open source projects but to practice what you have learn while contributing through another person or organizations’ code or project. Without a doubt open source brings benefits not just to the organizations through contributors’ innovative contributions, but the contributor also benefits by putting his or her name on a project, specially if you are looking to gain some exposure.&lt;/p&gt;

&lt;p&gt;Another benefit you will find while contributing to open source is that you can get experience working virtually since you do not know the people involved in the project and you base your contribution in written instructions, also by using your critical thinking while reviewing an unknown code or project to provide a solution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gain Programming Experience&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The beauty of an open source is that anyone can contribute, and if you do not have experience it will let you gain programming experience. If you are afraid to damage the code, do not worry, there are controls in place to prevent it, any submission needs to be approved. So, while new programmers gain experience without risking a program (or their jobs), experience programmers work in other relevant activities without &lt;strong&gt;&lt;em&gt;debugging&lt;/em&gt;&lt;/strong&gt; distractions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Finding Open Source Projects&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can find open source projects through GitHub, but you can also join open source communities through twitter or looking in the websites of specific companies you would like to contribute.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Steps&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;On GitHub, navigate to the repository you want to contribute&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under the repository name, click Clone or download.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the Clone with HTTPs section, click  to copy the clone URL for the repository.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open Git Bash.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change directories to the location of the fork you cloned in Step 2: Create a local clone of your fork.&lt;/p&gt;

&lt;p&gt;To go to your home directory, type just cd with no other text.&lt;br&gt;
To list the files and folders in your current directory, type ls.&lt;br&gt;
To go into one of your listed directories, type cd your_listed_directory.&lt;br&gt;
To go up one directory, type cd ...&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Type git remote -v and press Enter. You'll see the current configured remote repository for your fork.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
    git remote -v
    origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git // (fetch)
    origin  https://github.com/YOUR_USERNAME/YOUR_FORK.git // (push)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Type git remote add upstream, and then paste the URL you copied in Step 2 and press Enter. It will look like this:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
    git remote add upstream https://github.com/your_repository
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;To verify the new upstream repository you've specified for your fork, type git remote -vagain. You should see the URL for your fork as origin, and the URL for the original repository as upstream
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    git remote -v
    origin    https://github.com/YOUR_USERNAME/YOUR_FORK.git // (fetch)
    origin    https://github.com/YOUR_USERNAME/YOUR_FORK.git // (push)
    upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git // (fetch)
    upstream  https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git // (push)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>opensource</category>
      <category>programming</category>
      <category>begginer</category>
      <category>coding</category>
    </item>
    <item>
      <title>JavaScript: Data Structures (Part 3 - Maps)</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Sat, 01 Dec 2018 06:33:02 +0000</pubDate>
      <link>https://dev.to/banesag/javascript-data-structures-part-3---maps-149i</link>
      <guid>https://dev.to/banesag/javascript-data-structures-part-3---maps-149i</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F626isveixcb0131v4mwc.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F626isveixcb0131v4mwc.jpg" alt="alt text" width="749" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Maps Data Structures&lt;/h3&gt;

&lt;p&gt;This is the third and last part of my data structures series, this part as the previous, &lt;a href="https://dev.to/banesag/javascript-data-structures-part-1-4eb5"&gt;Arrays&lt;/a&gt; (Part 1) and &lt;a href="https://dev.to/banesag/javascript-data-structures-part-2-40cc"&gt;Sets&lt;/a&gt; (Part 2) cover another method for organizing data, so it can be used efficiently so your coding can flow in its intended way.&lt;/p&gt;

&lt;p&gt;Maps data structures provide with a convenient way of keeping a list of key and value pairs. At first, maps data structure looks like JavaScript objects, but you can differentiate them because:&lt;/p&gt;

&lt;p&gt;• Objects use strings for key values and maps can use any data type as a key.&lt;br&gt;
• Objects have methods that can be called, and prototypes used as chains; in the other hand maps only focus on storage and retrieval of key values pairs.&lt;br&gt;
• An objects value can accessed directly, but in maps they restrict you to using the get ( ) method so you can be able to retrieve any values.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating Maps&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can create an empty map object by using new operator and Map ( ) constructor:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const romanNumbers = new Map( );
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Map Literal Notation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There is no literal notation for creating maps, the only thing I found in my research is that there is some proposal syntax in place, but nothing formalized now.&lt;/p&gt;

&lt;p&gt;You will need to use constructors and pass an iterable (an array literal):&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const map = new Map([[“foo”, “Foo”], [“bar”, “Bar”, …]);
const set = new Set([“Foo”, “Bar”, …]);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Adding Entries&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Using the set ( ) method allows you to add a key and value pair to a map. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;romanNumbers.set(1, ‘l’); // The first value is the key, and second is the value.
&amp;lt;&amp;lt; Map (1 =&amp;gt; ‘l’) // The “hash rocket” symbol (=&amp;gt;) represents the map connection between the key and the value.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Multiple Entries&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can add multiple entries by repeatedly calling the set( ) method.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;romanNumbers.set(2, ‘II’) .set(3, ‘III’) .set(4, ‘IV’) .set(5, ‘V’);
&amp;lt;&amp;lt; Map { 1 =&amp;gt; ‘I’, 2 =&amp;gt; ‘II’, 3 =&amp;gt; ‘III’, 4 =&amp;gt; ‘IV’, 5 =&amp;gt; ‘V’ }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;em&gt;Map Methods&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In Maps you can look for a value based on its key by using the get ( ) method.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;romanNumbers.get (4);
&amp;lt;&amp;lt; ‘IV’
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Using the has ( ) methods allows you to look if a particular key is  in a map, and this method will return a Boolean value (true or false).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;romanNumbers.has(5);
&amp;lt;&amp;lt; true

romanNumbers.has(10);
&amp;lt;&amp;lt; false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can also add multiple values by using nested arrays as parameter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const heroes = new Map([ [‘Clark Kent’, ‘Superman’], [‘Bruce Wayne’, ‘Batman’] ]);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can look for the number of key and value pair in a map by using the size property:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;heroes.size
&amp;lt;&amp;lt; 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Removing Entries&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;By using the delete( ) method you can remove a key and its value from a map. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;heroes.delete(‘Clark Kent’); // To delete a value you need to specify it in the parentheses 
&amp;lt;&amp;lt; true // Will return a Boolean of true if the value was return, or false if not

heroes.size;
&amp;lt;&amp;lt; 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the other hand if you use the clear ( ) method, it will remove both, the key and its value.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;heroes.clear( );

heroes.size;
&amp;lt;&amp;lt; 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Converting Maps to Arrays&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ ...romanNumbers]
&amp;lt;&amp;lt; [ [1, 'I'], [2, 'II'], [3, 'III'], [4, 'IV'], [5, 'V'] ]

Array.from(romanNumbers)
&amp;lt;&amp;lt; [ [1, 'I'], [2, 'II'], [3, 'III'], [4, 'IV'], [5, 'V'] ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Maps data structures are not intended to replace objects, its use depends on what operation you are going to perform or what data you are going to work with. Maps are more useful over objects when you just need a simple look up structure for data storing.&lt;/p&gt;

&lt;p&gt;Hope this post is of any help.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>datastuctures</category>
      <category>coding</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Bootcamp: It has been challenging!</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Thu, 29 Nov 2018 18:58:34 +0000</pubDate>
      <link>https://dev.to/banesag/bootcamp-it-has-been-challenging-5d9o</link>
      <guid>https://dev.to/banesag/bootcamp-it-has-been-challenging-5d9o</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmz6sb58xv1sdqc7kxm74.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmz6sb58xv1sdqc7kxm74.jpg" alt="alt text" width="800" height="536"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Learning to code can be challenging, but rewarding!&lt;/h3&gt;

&lt;p&gt;After some research about the options, I found out a coding Bootcamp at GATech, its curriculum and the school credentials, as well as the length of the program motivated me to get enrolled. I got accepted and even though they were clear that I would need to spend as a minimum of 20 hour outside the classroom to ensure not just the completion of the assignments but my success in the program, I must to admit that it has been not just demanding but challenging in different ways since the beginning and that I have been spending more than the 20 hours per week to keep up the workload and learning.&lt;/p&gt;

&lt;p&gt;It is not enough to be willing to succeed and complete the program but been able to understand every topic and new concepts in a short time, and then complete the required projects. Coding is not about memorizing or just double read the concepts, it is actually about CODING! (yes! I know it is obvious). &lt;/p&gt;

&lt;p&gt;But, the fact that sometimes I felt behind the class and stressed with the feeling that I would not be able to complete the assignments kept me in a state of anxiety and alert, too!!! Lucky for me, I have great instructors and TA’s available for help or explain anything, but because of the program nature the classes move so quick, so you need to be prepared to move from topics and go back by yourself to re-learn the topics and keep fresh what at some point you are not looking in a daily basis during class, but eventually you will need to apply in further projects.&lt;/p&gt;

&lt;p&gt;If you are planning to enroll into a coding bootcamp just be aware that you will need to put more than the time you are expecting, and that is not a regular class but that you will need to actually commit because you will be challenged in different ways, including family/friends time. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep Motivated&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Don’t feel bad if you are not the star of the class but be sure you are trying your best every time and with every topic. Over the weeks or months, you will start realizing things you were unable to understand during class or at beginning of the bootcamp.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Look for Resources&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every bootcamp and every instructor will provide you with some additional resources that work for them or they have found helpful for other students but look also for additional resources that you know will work for you, like traditional or old fashion methods, maybe a couple of books or join a study group. Also, there are a ton of resources online if you feel more comfortable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Write notes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Keep yourself a log of things you are learning at class, concepts, ideas, examples or anything that you can revisit on a notebook (yes, I now you are hitting technology and making notes on your laptop, but don’t underestimate the old fashion methods).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Network&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Make connections, I know for some it sounds obvious and for others it sounds crazy when you are new at the field, but start making connections with your classmates, believe me most of my classmates have been of help when I need to ask something, there are some experienced coders in my class (in other programming languages) and some others that learn really quick and willing to share knowledge.&lt;/p&gt;

&lt;p&gt;And,&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Practice, Practice, Practice…&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;By the way, the feeling of completing successfully a program, even a small one is what it makes this journey so rewarding.&lt;/p&gt;

&lt;p&gt;Share how it has been you coding journey and how you have overcome challenges even as an experienced programmer learning new languages!&lt;/p&gt;

</description>
      <category>coding</category>
      <category>begginers</category>
      <category>webdev</category>
      <category>computerscience</category>
    </item>
    <item>
      <title>JavaScript: Data Structures (Part 2 - Sets)</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Tue, 27 Nov 2018 17:53:16 +0000</pubDate>
      <link>https://dev.to/banesag/javascript-data-structures-part-2-40cc</link>
      <guid>https://dev.to/banesag/javascript-data-structures-part-2-40cc</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh12h1tgfnq9zw5vt6vzr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh12h1tgfnq9zw5vt6vzr.jpg" alt="alt text" width="800" height="1066"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Data Structures: Arrays, Sets, and Maps.&lt;/h3&gt;

&lt;p&gt;Data structure was defined in the part 1 of a series of 3 blogs that includes &lt;a href="https://dev.to/banesag/javascript-data-structures-part-1-4eb5"&gt;Arrays&lt;/a&gt; (Part 1), &lt;a href="https://dev.to/banesag/javascript-data-structures-part-2-40cc"&gt;Sets&lt;/a&gt; (Part 2), and &lt;a href="https://dev.to/banesag/javascript-data-structures-part-3---maps-149i"&gt;Maps&lt;/a&gt; (Part 3). But, revisiting the concept; data structure refers to how the data is organized, so it can be used efficiently, including the logical statements that allows to control the flow of a program.&lt;/p&gt;

&lt;h3&gt;The Sets Data Structure&lt;/h3&gt;

&lt;p&gt;A set data structure is represented by a collection of unique values without duplicating them. Sets offer a useful way to keep track of data by grouping and organizing its data in a set structure by using curly brackets {}.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating Sets&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An empty set is created by using the operator &lt;strong&gt;&lt;em&gt;new&lt;/em&gt;&lt;/strong&gt; and Set( ) constructor:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const list = new Set ( );
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Adding values&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Using the add method will allow to add values to a set.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.add ( );
&amp;lt;&amp;lt; Set { 1 }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Adding more values&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;list.add (2 ) .add (3) .add (4) ; // adding multiple values is possible by repeating just the add ( ) method
&amp;lt;&amp;lt; Set { 1 , 2, 3, 4}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;em&gt;Note: If you try to add an existing value to the set, it will ignore since the nature of the set data structure does not allow duplicated values&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Adding multiple values using an array&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We can also add multiple values to a set as an argument inside an array.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const numbers = new Set ([ 1, 2, 3 ]);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;em&gt;Using Strings as arguments&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Using strings is not different than using numbers, if an element is duplicated then it only will show one element.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const letters = new Set (‘hello’ );
letters
&amp;lt;&amp;lt; Set { ‘h’, ‘e’, ‘l’, ‘o’ } // it eliminates one ‘l’ since in sets values cannot been duplicated
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const letters = new Set ( ) .add ( ‘the’)  .add (‘quick’) .add (‘brown’) .add (‘fox’)
words
&amp;lt;&amp;lt; {‘the’, ‘quick’, ‘brown’, ‘fox’}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Non-primitive values (arrays and objects) are considered unique values, even containing the same value allowing to duplicate values that appearing in a set.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const arrays = new Set ( ) .add ([1]) .add ([1]);
arrays
&amp;lt;&amp;lt; Set { [ 1 ], [ 1 ] } // these arrays look the same but are different objects
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can test its strict equality&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ 1 ]  === [ 1 ];
&amp;lt;&amp;lt; false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Set Methods&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can find the number of values in a set by using the size () method:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const jla = new Set ( ) . add(‘Superman’) .add (‘Batman’) .add (‘Wonder Woman’);
&amp;lt;&amp;lt; Set { ‘Superman’,  ‘Batman’, ‘Wonder Woman’ }

jla.size ( );
&amp;lt;&amp;lt; 3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, checking a value in a set&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;jla.has (‘Superman’);
&amp;lt;&amp;lt; true

jla.has (‘Green Lantern’);
&amp;lt;&amp;lt; false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;em&gt;Note: The has ( ) method is more efficient and faster than the includes ( ) or indexOf ( ) methods&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Removing Values&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can remove a value by using the delete ( ) method, it will return a Boolean  value of true if the value was successfully deleted, or false if it was not.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;jla.delete ( ‘Superman’ );
&amp;lt;&amp;lt; true

jla.delete ( ‘Flash’ );
&amp;lt;&amp;lt; false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The clear ( ) method will &lt;strong&gt;&lt;em&gt;clear&lt;/em&gt;&lt;/strong&gt; all the values from your set, so be careful if you are using it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;jla.clear ( );
jla
&amp;lt;&amp;lt; Set { }

jla.size 
&amp;lt;&amp;lt; 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Converting Sets&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;By using the spread operator, you can convert a set into an array directly inside an array.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const shoppingSet = new Set ( ) .add (‘Apples’) .add (‘Bananas’) .add (‘Beans’);

shoppingSet
&amp;lt;&amp;lt; Set { ‘Apples’, ‘Bananas’, ‘Beans’}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now converting it into an array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const shoppingArray = […shoppingSet]

shoppingSrray
&amp;lt;&amp;lt; [ ‘Apples’, ‘Bananas’, ‘Beans’ ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Another method to conver it can be Array.from ( )&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const shoppingSet = new Set ( ) .add (‘Apples’) .add (‘Bananas’) .add (‘Beans’);
const shoppingArray = Array.from(shoppingSet);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By combining the use of the spread operator and the ability to pass an array to new Set ( ) constructor you are creating a copy of the array with any duplicates removed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const duplicate = [ 3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 9];
&amp;lt;&amp;lt; [ 3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5, 9]

Const nonduplicate = […new Set ( repeatedArray)];
&amp;lt;&amp;lt; [ 3, 1, 4, 5, 9, 2, 6 ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt; Conclusion &lt;/h3&gt;

&lt;p&gt;Just think that data structures store data, and the best stored and organized it is, the more efficient it will be for its intended use; just as words are stored in a dictionary, data is stored in a data structure, and in the same way if words were randomly stored in a dictionary without structure we would struggle to use it, the same would happen with the data.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>datastructures</category>
      <category>coding</category>
      <category>webdev</category>
    </item>
    <item>
      <title>JavaScript: Data Structures (Part 1 - Arrays)</title>
      <dc:creator>Banesa Guaderrama</dc:creator>
      <pubDate>Mon, 26 Nov 2018 21:57:42 +0000</pubDate>
      <link>https://dev.to/banesag/javascript-data-structures-part-1-4eb5</link>
      <guid>https://dev.to/banesag/javascript-data-structures-part-1-4eb5</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh12h1tgfnq9zw5vt6vzr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh12h1tgfnq9zw5vt6vzr.jpg" alt="alt text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Data Structures: Arrays, Sets, and Maps.&lt;/h3&gt;

&lt;p&gt;Data structures are used to store lists of values, these data structures are called arrays, sets, and maps. But what is data structure? According Wikipedia, “In computer science, a data structure is a particular way of organizing data in a computer, so it can be used efficiently”,  to which I would add that using logical statements allows you to control the flow of a program, as well as loops that would allow us to repeat blocks of code over and over again as needed in our code.&lt;/p&gt;

&lt;h3&gt;The Array Data Structure&lt;/h3&gt;

&lt;p&gt;An array data structure or an array is an ordered list of values, or a collection of elements (values or variables) identified by an index or key. The most simple type of array data structure is a linear array.&lt;/p&gt;

&lt;p&gt;Creating an array literal will require you to write a pair of square brackets.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const myArray = [ ];
&amp;lt;&amp;lt; [ ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We can add a constructor function&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const myArray = new Array( );
&amp;lt;&amp;lt; [ ]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Arrays are not primitive values but a special built-in object, like when using the “typeof” operator:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;typeof [ ];
&amp;lt;&amp;lt; ‘object’
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;Initializing an array&lt;/h3&gt;

&lt;p&gt;But, How do we initialize an array? Well, we can create an empty array literal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const heroes = [ ];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, we can find the value of element 0 (zero) in our heroes array&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;heroes [0];  // to access a specific value in an array, we write its index inside the square brackets
&amp;lt;&amp;lt; undefined
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt; Adding values to an array &lt;/h3&gt;

&lt;p&gt;Place a new string by assigning the element 0 (zero).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;heroes[0] = ‘Superman’;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We can treat items in the array as a variable and changing its value by using the assignment operator =&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;heroes[0] = ‘Batman’;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We can add more values using different indices:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;heroes[1] = ‘Wonder Woman’;
heroes[2] = ‘Flash’;
heroes[5] = ‘Aquaman’;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can repeat the operation until you add all the elements you want or need in your array.&lt;/p&gt;

&lt;p&gt;Then, you can review your array by typing your array name (heroes) on your console and look at it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;heroes;
&amp;lt;&amp;lt; [‘Batman’, ‘Wonder Woman’, ‘Flash’, undefined, undefined, ‘Aquaman’]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can see that those elements assigned with an index appear in the list by its name, but any other unused slots appear as undefined.&lt;/p&gt;

&lt;h3&gt; Creating array literals &lt;/h3&gt;

&lt;p&gt;We can create array literals to avoid adding values one by one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const avengers = [‘Captain America’, ‘Iron Man’, ‘Thor’, ‘Hulk’];
&amp;lt;&amp;lt; [‘Captain America’, ‘Iron Man’, ‘Thor’, ‘Hulk’]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;Removing values from arrays &lt;/h3&gt;

&lt;p&gt;Using the ‘delete’ operator allows us to delete an item from an array.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;delete avengers[3];
&amp;lt;&amp;lt; true
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The action will delete the value store in the index 3 (‘Hulk’), but it also leaves the index as undefined because even when deleting a value the space is still there, meaning that the array still has the same number of elements but the one we deleted will be undefined.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;avengers;
&amp;lt;&amp;lt; [‘Captain America’, ‘Iron Man’, ‘Thor’,  ‘undefined’]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;




&lt;h3&gt; Destructuring arrays &lt;h3&gt;

&lt;/h3&gt;
&lt;/h3&gt;
&lt;p&gt;Destructuring refers to take values out of the arrays and presenting as individual values, this allows us to assign multiple values at the same time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const [x, y] = [1, 2];
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It means that each variable exists outside the array and you can check its value individually.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Example:&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;x
&amp;lt;&amp;lt; 1

y
&amp;lt;&amp;lt; 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[x, y] = [y, x];
x
&amp;lt;&amp;lt; 2

y
&amp;lt;&amp;lt; 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is &lt;a href="https://dev.to/banesag/javascript-data-structures-part-1-4eb5"&gt;Arrays&lt;/a&gt; (Part 1) of a series of 3 posts about data structures, &lt;a href="https://dev.to/banesag/javascript-data-structures-part-2-40cc"&gt;Sets&lt;/a&gt; (Part 2) and &lt;a href="https://dev.to/banesag/javascript-data-structures-part-3---maps-149i"&gt;Maps&lt;/a&gt; (Part 3) will complete the series.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>datastructures</category>
      <category>coding</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
