<?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: Osania - sancodes</title>
    <description>The latest articles on DEV Community by Osania - sancodes (@san00).</description>
    <link>https://dev.to/san00</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%2F557251%2F144478cf-7404-4e5f-8caf-004042b1f8ff.jpeg</url>
      <title>DEV Community: Osania - sancodes</title>
      <link>https://dev.to/san00</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/san00"/>
    <language>en</language>
    <item>
      <title>FEAR &amp; my shining Ruby</title>
      <dc:creator>Osania - sancodes</dc:creator>
      <pubDate>Mon, 22 Mar 2021 20:00:32 +0000</pubDate>
      <link>https://dev.to/san00/fear-my-shining-ruby-49mf</link>
      <guid>https://dev.to/san00/fear-my-shining-ruby-49mf</guid>
      <description>&lt;p&gt;For the past 2 weeks, I've been &lt;strong&gt;learning Ruby&lt;/strong&gt; with John C. &lt;/p&gt;
&lt;blockquote class="ltag__twitter-tweet"&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s---DA2sVCf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/839922436460048384/1j11W8mp_normal.jpg" alt="John Crepezzi profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        John Crepezzi
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        @seejohnrun
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ir1kO05j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      I’ve been discouraged recently seeing a bunch of friends from under-represented backgrounds being rejected from PAID tech bootcamps because they didn’t pass the screener. [thread]
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      01:03 AM - 25 Feb 2021
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1364742690361999360" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFnoeFxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-reply-action-238fe0a37991706a6880ed13941c3efd6b371e4aefe288fe8e0db85250708bc4.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1364742690361999360" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k6dcrOn8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-retweet-action-632c83532a4e7de573c5c08dbb090ee18b348b13e2793175fea914827bc42046.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/like?tweet_id=1364742690361999360" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SRQc9lOp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-like-action-1ea89f4b87c7d37465b0eb78d51fcb7fe6c03a089805d7ea014ba71365be5171.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;
Due to other commitiments &amp;amp; the time difference, I haven't attended every live session &amp;amp; have been catching up with lessons &amp;amp; execises via the recordings.

&lt;p&gt;Today with Ruby, I've been going through classes. As someone who previously learnt Java &amp;amp; didn't consider myself well-versed in the language. I had a false and negative sense of what I thought about the language, myself and my ability to understand and use things related to the backend.&lt;/p&gt;

&lt;p&gt;For a long time, I shyed away from using anything I saw as a backend language. In my case Java. As I saw it as something I didn't get, which wasn't true. In fact, learning Java at uni was the first time I'd ever done any kind of programming, so I shouldn't have been to hard on myself.&lt;/p&gt;

&lt;p&gt;To bring it back to my point. As John explained classes, his explanation was so clear that I immediately remembered what I'd learnt &amp;amp; knew about OOP &lt;strong&gt;(object oriented programming)&lt;/strong&gt;. &lt;br&gt;
I'd learnt so much doing Java, which I hadn't recognised or acknowledged. I now felt a sense of achievement &amp;amp; didn't feel as bad as I had done all this time. I actually knew &amp;amp; had learnt stuff. Yeyyy!&lt;/p&gt;

&lt;p&gt;Blown out of the water by my new found enjoyment of Ruby, OOP &amp;amp; what I could do. It made me think about my initial negative experience learning Java &amp;amp; why I'd perhaps moved away from certain languages, instead of moving toward them. &lt;br&gt;
So far, I've enjoyed using Ruby &amp;amp; look forward to revisiting Java again at some point.&lt;/p&gt;

&lt;p&gt;What I'm trying to get at, is that sometimes we let our past bad experiences define our perception of how hard or difficult something is without ever trying it agan or revisiting things. We can let the fear of (not being good, appearing stupid, technical etc - insert your word/s here)stop us from achieving.&lt;/p&gt;

&lt;p&gt;As Will Smith once said, fear can be &lt;strong&gt;False Events Appearing Real.&lt;/strong&gt;&lt;br&gt;
Through my experience with Ruby, it's highlighted to me, I am capable, the back-end might also be an area I quite like and I have nothing to fear. It's all a learning process.&lt;/p&gt;

&lt;p&gt;From the tales of a junior dev. &lt;/p&gt;

</description>
      <category>devjournal</category>
      <category>writing</category>
      <category>ruby</category>
    </item>
    <item>
      <title>LIFO, FIFO. The difference between a stack and a queue. A quick guide. </title>
      <dc:creator>Osania - sancodes</dc:creator>
      <pubDate>Tue, 19 Jan 2021 19:25:01 +0000</pubDate>
      <link>https://dev.to/san00/lifo-fifo-the-difference-between-a-stack-and-a-queue-a-quick-guide-1k8m</link>
      <guid>https://dev.to/san00/lifo-fifo-the-difference-between-a-stack-and-a-queue-a-quick-guide-1k8m</guid>
      <description>&lt;p&gt;I've been going over some JavaScript concepts lately and recently came across an acronym I hadn't heard before.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Lifo, Fifo.&lt;/strong&gt; It was easy to remember and described the difference between a stack and a queue perfectly. Queue's and stacks allow you to add or remove items from a data structure in a particular order.
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Stacks
&lt;/h4&gt;

&lt;p&gt;Like a stack of plates or these cookies. A stack has a last in, first out order - &lt;strong&gt;LIFO.&lt;/strong&gt; They are stacked one on top of the other. To get to the cookie second from top, you would have to remove the first one. Making it a last in, first out data structure - LIFO.&lt;br&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%2Fi%2Fhssspquesl1g5wymxngg.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%2Fi%2Fhssspquesl1g5wymxngg.jpg" alt="A stack of cookies"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Queue's
&lt;/h4&gt;

&lt;p&gt;A queue has a first in, first out data structure - &lt;strong&gt;FIFO.&lt;/strong&gt; &lt;br&gt;
Like someone standing in line or waiting in a queue. The person who is first in the line, gets seen first.&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%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F4qs8zv026yradfjh1afv.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%2Fi%2F4qs8zv026yradfjh1afv.jpg" alt="people standing in line Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In JavaScript, when you use the&lt;br&gt;
&lt;br&gt;
 &lt;code&gt;pop() or push() methods&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
 to add or remove something from the end of an array, this process follows the &lt;strong&gt;LIFO&lt;/strong&gt; order. &lt;br&gt;
Removing something from the front of the array, requires a bit more work and can involve looping to ensure when an item is removed from the front, you push all the other elements forward to maintain correct indexing and this process follows the &lt;strong&gt;FIFO&lt;/strong&gt; order. &lt;/p&gt;

&lt;p&gt;Hearing this acronym helped me, maybe it can help you too. &lt;br&gt;
Links - &lt;a href="https://frontendmasters.com/courses/interviewing-frontend/" rel="noopener noreferrer"&gt;I originally heard about this here&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.telerik.com/blogs/stack-queue-javascript" rel="noopener noreferrer"&gt;&amp;amp; read more about it here&lt;/a&gt; &lt;a href="https://www.digitalocean.com/community/tutorials/js-stacks-queues" rel="noopener noreferrer"&gt;&amp;amp; here too&lt;/a&gt;&lt;/p&gt;

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