<?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 Andrew stein on Medium]]></title>
        <description><![CDATA[Stories by Andrew stein on Medium]]></description>
        <link>https://medium.com/@ABStein?source=rss-9270b78b1635------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VwKOrvvGhIIrUWmUCZznoQ.jpeg</url>
            <title>Stories by Andrew stein on Medium</title>
            <link>https://medium.com/@ABStein?source=rss-9270b78b1635------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:14:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ABStein/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[Imposter Syndrome, the Bane of My Existence]]></title>
            <link>https://medium.com/better-programming/imposter-syndrome-the-bane-of-my-existence-c4d7188e7862?source=rss-9270b78b1635------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4d7188e7862</guid>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[inspiration]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Andrew stein]]></dc:creator>
            <pubDate>Wed, 08 Jul 2020 16:17:33 GMT</pubDate>
            <atom:updated>2020-07-08T16:17:33.871Z</atom:updated>
            <content:encoded><![CDATA[<h4>But it doesn’t have to be</h4><figure><img alt="hand reaching for the sunset" src="https://cdn-images-1.medium.com/max/1024/0*5o6e2gAdSLpZ_EvO" /><figcaption>Photo by <a href="https://unsplash.com/@marcojodoin?utm_source=medium&amp;utm_medium=referral">Marc-Olivier Jodoin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>It’s been a while since I blogged about my professional journey but now is as good a time as ever since many of you (including myself) may be having these feelings now more than ever. Let’s start with a little story. I have had quite an interesting journey in my career. I graduated from college with a degree in pre-med and started working full-time as a human resource/payroll manager in a nursing home while studying for the MCATs.</p><p>One day I found myself running on the treadmill with a good friend of mine after many months of being completely worn out physically and emotionally. I couldn’t stop complaining to him about how exhausted I was from studying my butt off day and night for this exam. It would help me become a doctor, but I would have too much student loan debt to even count. Coupling this with being at a job that was full-time and very demanding, I felt that my life was going nowhere fast. The worst part was I didn’t want to be a doctor. I always knew it would make my parents proud to finally be able to say “my son, the doctor” without ever thinking about how that would make me feel.</p><p>I wish I could say that at this point I knew that this was the start of imposter syndrome creeping into my life, but I can’t. My friend convinced me, given that my hobbies included computer building and watching tech reviewers on YouTube all the time and being awed at the innovations coming out annually, that maybe I should try a career in tech. I was curious, so I asked, “Okay, what type of career is that?” not knowing a thing about the industry other than being subscribed to Netflix or owning a Macbook. He said, “Programming!” I’m almost embarrassed to say, but I answered, “What’s programming?” Oh boy, now the fun begins.</p><p>Well, you guessed it! Or maybe you didn’t, but either way, I decided to attend a meetup at a coding boot camp in Chicago called Actualize in hopes that maybe this might be the career move I’ve been waiting for.</p><p>I was blown away by a “simple” demonstration on how to use HTML, CSS, and JavaScript to make webpages. I thought it was so cool to have the ability to create things on your own and call them yours. There was so much freedom of expression that, as a terrible doodler in school, I felt that I could make anything! So I signed up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*1NaoXdD7zmLMsZsl.png" /></figure><p>This is the quote. While I was learning to code, this quote helped me not go insane (even though I did quite a few times, and still do). After three months of intense learning, I made it. I graduated from the boot camp thinking “Wow, we learned so much! But there is so much more out there.” I wasn’t wrong.</p><p>After job-searching for around three months and a lot of coding challenges, I finally got my first gig. I was going to be a QA automation engineer. I was so excited, but I could not help this feeling I had inside of me of <em>Why me? Am I good enough? I had so many interviews before this and they didn’t want me. </em>At this point, you might be thinking, <em>Okay Andrew, so now it sunk in that you had imposter syndrome. </em>Well, you’d be wrong. I didn’t know what imposter syndrome was yet, and I did not think I was good enough, despite the hours and hours of preparation I did to get the job. I researched everything about the company and its software and practiced, very uncomfortably I might add, in front of a mirror for what seemed like an eternity. But hey, why would they pick me, right?</p><p>I learned so much more than I ever could have imagined in this position, and despite my inexperience, I wanted to be the best that I could be and learn as much as I could. After I’d been in this position for around ten months, my manager, who is a model of what a manager should be, encouraged me to apply for a junior back-end position that the company was opening up and said that she had already recommended me for the position.</p><p>Just like that, I began to have these feelings again, and like an old friend, I welcomed them right in: <em>Am I good enough? Why would she recommend me for the job?</em> Funny how something so powerful can be overlooked so easily. I was interviewed for the position, and, would you look at that, they said yes! Well now, you might want to ask me, “That’s awesome, but did you ever wonder what these thoughts were or why they always appear at a milestone?” Nope. I remember telling myself that this was a part of the process and that I will learn not to be as hard on myself later on. Little did I know that this would ultimately hit me harder than I would ever know.</p><p>The time came for me to start this new role. This was historically the hardest team/codebase to wrap your head around out of every team in the company. There were so many new languages and frameworks I needed to learn in this role: AWS, NodeJS, the serverless framework, mocking AWS resources in unit tests, and PHP, just to name a few. I was overwhelmed, but I took it day by day.</p><p>After a week of being in this role, I could not stop thinking, <em>Why me? I don’t have experience in a lot of these technologies</em>. This time though, the thoughts did not stop. I would think about it constantly. So I finally did some research and learned, you guessed it, I was experiencing imposter syndrome.</p><p>Well, you’ve made it through my story and now you’re determined! “I won’t be like Andrew, I will attack this head-on because I know what to look for.” Awesome! I hope you conquer your imposter syndrome and never have to worry about it again.</p><p>Or maybe you’re like me and think, <em>I’m on my second (or third, or fourth) job, and I still have these feelings — what gives?</em> This is what my story is for. I’ve been there and I’m still there. Imposter syndrome, for many us, is a constant struggle and requires constant attention to keep under control. You are not alone, and you too can cope with this unwanted reality.</p><p>YOU got that new job, YOU got that promotion. Give yourself credit for the accomplishments that you’ve had and celebrate your successes. It’s not easy to always feel comfortable in every situation, but at least you have the power to pick yourself up and thrive. No matter what you do, you have to believe in yourself, even when it’s the hardest thing to do. I believe in you. Now you do the same!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bIoEr6dliK0FVU5z" /><figcaption>Photo by <a href="https://unsplash.com/@rosiekerr?utm_source=medium&amp;utm_medium=referral">Rosie Kerr</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4d7188e7862" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/imposter-syndrome-the-bane-of-my-existence-c4d7188e7862">Imposter Syndrome, the Bane of My Existence</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Breaking Down the basics of Big O notation]]></title>
            <link>https://medium.com/@ABStein/breaking-down-the-basics-of-big-o-notation-b7f4f6836fc2?source=rss-9270b78b1635------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7f4f6836fc2</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Andrew stein]]></dc:creator>
            <pubDate>Thu, 03 Jan 2019 19:25:01 GMT</pubDate>
            <atom:updated>2019-01-03T23:21:55.902Z</atom:updated>
            <content:encoded><![CDATA[<p>Wow, it’s been a while since I’ve written on my little blog here but I figure now is a good time as any to continue honing in my computer science skills, and what better place to start than Big O notation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*CFM9mkVIbazmI8oAJP7seA.jpeg" /></figure><p>Firstly, what is Big O notation, and why is this so fundamental to know when working as a software engineer? Well, simply put it is a measurement that is used in order to determine the time complexity of an algorithm, or in other words, how quickly it will take for this algorithm to complete its task. I will be going over three Big O classifications, O(1), O(N), and O(logN), and try to explain them as best as I can.</p><p>Let’s start with the basics. Say, for example, we write down a simple piece of code print &quot;Hello world!&quot; (yes the overdone hello world, I had to!) and I ask you “what type of algorithm would you describe this line as in terms of Big O ?” You might say “Um, that is a simple print and is not an algorithm.” To which I would respond, “Well actually any line of code that is completing a task is an algorithm, but it is true that the complexity may be extremely low like in this case.”</p><p>That said, the line print &quot;Hello World!&quot; is what is known as, in Big O notation, O(1) which means very simply that the algorithm will take the same number of steps, no matter how much data there is, to complete (in this case one). So, as another example, let us say we have an array of fruit fruits = [ &quot;apples&quot;, &quot;oranges&quot;, &quot;peaches&quot;] reading from this array will only take one step regardless of how long the array may be therefore this array will also be categorized in Big O as O(1).</p><p>Now that we understand O(1), let&#39;s try to think about searching an array for a specific value. Given our fruits array mentioned above say we were only looking for an element(s) in that array that contains the letter “p”, simple enough, we would write a simple loop that would iterate through said array and display the elements that contain that letter.</p><p>With this in mind, we now can see that this type of algorithm would most likely not be O(1) since the number of steps it would take to complete this would depend on the size of the data set. That size, in Big O, is referred to as “N” and if we were to classify this loop in terms of Big O notation it would be O(N), or it would take “N” times to complete this algorithm.</p><p>Before talking about the third classification I want to talk about binary search. A great example I read on binary search goes like this. Imagine you were playing a guessing game of higher and lower and you had to guess a number between 1 and 100 and I picked 75. The best approach to this would be to first say 50, thereby eliminating half the results. Next, you would say the halfway point between 50 and 100 which would be 75, you will have narrowed the search down in two steps! Of course, I made it easier by picking a halfway point but the point still stands even if the number was 65 or 70, it would just take one or two more steps. This is binary search, you are cutting the elements in half to get to the result faster.</p><p>Now, knowing what we already know about O(1) and O(N) this clearly does not fall into either of these categories. This dataset would not take one hundred (N) steps to complete as O(N) might say, and definitely does not take one or seven or nine steps every time. We would classify this type of algorithm as O(log N), which if we were to think about the guessing game example above, is essentially the number of steps it would take to halve data sets until there is only one remaining, and binary search falls directly in this category. One stipulation, however, is that binary search will only work on an ordered array and cannot work for anything else.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F4QEGzwV57p27EbVHXG%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fawesome-you-did-it-4QEGzwV57p27EbVHXG&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F4QEGzwV57p27EbVHXG%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="237" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3e4a69a775436c7a1fa10feba004f05/href">https://medium.com/media/d3e4a69a775436c7a1fa10feba004f05/href</a></iframe><p>Awesome! You made it through the explanations. Now let&#39;s visualize these concepts as a whole. How would you rank these classifications in terms of time complexity?</p><p>Have you got it? Well, O(1) is definitely the fastest, as it will only take one step or the same amount of steps to complete depending on the complexity of the algorithm. O(log N) is next as it can take a larger dataset and complete much quicker by halving each result. Finally, you probably guessed it, O(N) is definitely the slowest since for every piece of data it will take one additional step to complete it.</p><p>Hopefully, this introductory explanation into Big O notation has helped on your path to being a better programmer, I can definitely say for me it has! Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7f4f6836fc2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is JSON and why is it important?]]></title>
            <link>https://medium.com/@ABStein/what-is-json-and-why-is-it-important-9a3595483a4e?source=rss-9270b78b1635------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a3595483a4e</guid>
            <category><![CDATA[json]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Andrew stein]]></dc:creator>
            <pubDate>Wed, 20 Dec 2017 22:41:09 GMT</pubDate>
            <atom:updated>2017-12-20T22:52:27.194Z</atom:updated>
            <content:encoded><![CDATA[<p>I know what you’re thinking, “aren’t you forgetting an ‘a’ in JSON?” No, I’m not talking about a good friend of mine from back in grade school, I’m talking about a different way we can consume a web response that does not include HTML, CSS, or pure Javascript, and its called Javascript Object Notation(JSON).</p><p>So then why wouldn’t we want to look at at a good looking website with engaging content? Sometimes we want to just see the raw data that is available to us from the database in the form of an array of objects that contain many attributes, otherwise known as an array of hashes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F5428094&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fcrying-beautiful-sobeautiful-gif-5428094&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fimages%2F242e6558912d7db78a27fcc22e29a37d%2Fraw&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a539a988aa5f525fe1c6966a63468ef/href">https://medium.com/media/1a539a988aa5f525fe1c6966a63468ef/href</a></iframe><p>So how can we consume JSON data in our ruby on rails app? Simple, a great tool for this would be the Unirest gem. First download the google chrome extension called JSONView, you will find the link to this below, then use the .json site that you found and use this extension.</p><p><a href="https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?hl=en">JSONView</a></p><p>Now that you have that dowloaded go into your rails application and include into your Gemfile</p><pre>gem &#39;unirest&#39;, &#39;~&gt; 1.1.2&#39;</pre><p>Don’t forget to ‘bundle’ in the terminal!</p><p>So, lets check out what the layout for a Unirest request would look like..</p><pre>response = Unirest.get(https://coolwebsite.com/path/to/content.json).body</pre><p>What we are doing here is calling the Unirest gem and saying .get because we are trying a to get a web response, and using the website with the JSON content as the argument we are passing in. This will grant us access to the objects and attributes located in the database for that website. The .body at the end is giving us the array of hashes that will be displayed.</p><p>So now that we have gone over how to access JSON content why is being able to view JSON something we care about? Well there are many reasons, but one very important reason is that it’s used very widely in API web responses. So when you are implementing an API into your application the web response you are most likely to get is a JSON response. Being able to see data that you are receiving in a clear way (such as an array of hashes) is very helpful in order to manipulate that data to do what you want with it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a3595483a4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hashes, what are they and why do we care?]]></title>
            <link>https://medium.com/@ABStein/hashes-what-are-they-and-why-do-we-care-91c7a9c4e1b6?source=rss-9270b78b1635------2</link>
            <guid isPermaLink="false">https://medium.com/p/91c7a9c4e1b6</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Andrew stein]]></dc:creator>
            <pubDate>Mon, 18 Sep 2017 04:10:13 GMT</pubDate>
            <atom:updated>2017-09-18T04:17:43.462Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*z6nJJZiUJhNY5n7dzlamDA.png" /></figure><p>Hashes, other wise known as key value pairs, are the most complex data type written in the ruby language but don’t worry, they are not that hard to master. Hashes are similar to an array however, the difference is that an array is a list of single elements, while a hash is a list of a pair of elements.</p><p>For example</p><pre>apple_store = {&quot;iPhone&quot; =&gt; 800, &quot;iPad&quot; =&gt; 900, &quot;Macbook&quot; =&gt; 1200}</pre><p>You can see here that we have defined a hash by the variable apple_store, and is represented by curly brackets. Lets take the first product, iPhone. You can see that an iPhone is paired with another element, in this case a price, 800. The iPhone is the key, while the price is the value, which is why hashes are commonly called a list of key value pairs. Each key value pair is separated by =&gt;, this is called a hash rocket.</p><p>Now lets understand how to work with hashes and see why they are so useful. using our example above, in order to call on a specific value in a hash you would write apple_store[&quot;iPhone&quot;], and ruby would return 800. However, you cannot locate a key by referencing its value, why is this? Since it is possible to have multiple values that can be the same, you would not be able to call on the proper key that you would be looking for since there can be many products that can cost 800. Based on this information it is not surprising that hashes are one directional noted by the hash rockets that go in one direction and not both ways.</p><p>The great thing about hashes is that you can add to them as well, so if I wanted to add an Apple Watch to the apple store hash its as simple as this, apple_store[&quot;Apple Watch&quot;] = 400.</p><p>On a deeper level we can use hashes in an each loop, but since it is a key value pair we need two block variables like so..</p><pre>apple_store = {&quot;iPhone&quot; =&gt; 800, &quot;iPad&quot; =&gt; 900, &quot;Macbook&quot; =&gt; 1200, &quot;Apple Watch&quot; =&gt; 400} </pre><pre>apple_store.each do |product, price|<br>   puts product<br>end</pre><p>What will happen here is we will get all of the products listed in our hash each on a separate line, or we can use a mixture of concatenation and user input to have have our simple apple store app return prices to our user when given these choices. Another very important use of hashes is when you are creating a list of people or cars with different “attributes” or features. Examples of that would be a database of employees with different names and incomes, or a database for a car dealership with each car having different features and prices. Hashes allow us to store lots of data in a clean and concise manner.</p><p>So now your thinking, “Okay this seems simple enough, but why do I care, and what makes it complex?” Hashes can really be a powerful tool when writing ruby code, but it doesn’t stop here. Once we pair ruby with the rails framework to build web applications, and implement parameters as well as instance variables thats when things truly come together in a meaningful way.</p><p>Hopefully this has helped you understand the concept of hashes better than you did before. Learning to code isn’t easy but sometimes you just have to attack it one small concept at a time. Cheers!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fb5WsjNpMc35za%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fmovie-emma-stone-thumbs-up-b5WsjNpMc35za&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fb5WsjNpMc35za%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="239" frameborder="0" scrolling="no"><a href="https://medium.com/media/15fd42354e95da4e2bbe36d794fa3e1f/href">https://medium.com/media/15fd42354e95da4e2bbe36d794fa3e1f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91c7a9c4e1b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Writing and referencing Arrays]]></title>
            <link>https://medium.com/@ABStein/writing-and-referencing-arrays-64b4f38cb976?source=rss-9270b78b1635------2</link>
            <guid isPermaLink="false">https://medium.com/p/64b4f38cb976</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Andrew stein]]></dc:creator>
            <pubDate>Sun, 27 Aug 2017 19:33:06 GMT</pubDate>
            <atom:updated>2017-08-27T19:33:06.107Z</atom:updated>
            <content:encoded><![CDATA[<p>Writing and referencing arrays may seem like a daunting task to start, but once you get the hang of it you will realize that it is easier than it may seem.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Ff5BXFIPVO1Mas%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Freal-life-frustrated-gif-gainsandlosses-f5BXFIPVO1Mas&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Ff5BXFIPVO1Mas%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="236" frameborder="0" scrolling="no"><a href="https://medium.com/media/fcfe65aa162e4c4a95d2e3c7b09db9ea/href">https://medium.com/media/fcfe65aa162e4c4a95d2e3c7b09db9ea/href</a></iframe><p>Arrays are a group of strings or integers (or even other arrays!) that we can use to reference in our code.</p><p>For example,</p><pre>array_1 = [1, 2, 3, 4]</pre><p>You will see here that we have an array of integers defined by a variable array_1 (keep in mind when writing code that you always separate two words with an underscore).</p><p>Now that we have our array set up, we want to reference one of those numbers. Those integers in the array are called elements, and we can reference any of the integers in this array by referencing them in the order they are in (starting with zero, then 1 etc.).</p><p>For example,</p><pre>array_1 = [1, 2, 3, 4]</pre><pre>array_1[0]   =&gt; 1<br>array_1[1]   =&gt; 2<br>array_1[2]   =&gt; 3<br>array_1[3]   =&gt; 4</pre><p>Another type of array that we can use is an array of strings, for example,</p><pre>pets = [&quot;dog&quot;, &quot;cat&quot;, &quot;turtle&quot;] </pre><p>Don’t forget, that we reference each element in the array by the order number in which they are in. So in this example…</p><pre>pets = [&quot;dog&quot;, &quot;cat&quot;, &quot;turtle&quot;]</pre><pre>pets[0]    =&gt; dog<br>pets[1]    =&gt; cat <br>pets[2]    =&gt; turtle</pre><p>One thing to note about arrays is that not only are they good for keeping your code organized, once you learn about loops, creating and referencing arrays will be an excellent tool in creating micro-programs(obviously they wont look great but they work!)</p><p>By writing and referencing arrays you can greatly enhance your skills as a a blooming coder, and use this skill for more complex code.</p><p>A great tool to use when starting with arrays would be ruby-doc, heres the link to that <a href="https://ruby-doc.org/core-2.2.0/Array.html">https://ruby-doc.org/core-2.2.0/Array.html</a>. Good luck on your journey to being a great coder!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TMDY1RhZdL6BTDzo3Fej_w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64b4f38cb976" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>