<?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: steelbeginner</title>
    <description>The latest articles on DEV Community by steelbeginner (@steelbeginner).</description>
    <link>https://dev.to/steelbeginner</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%2F253158%2Fc2c73a35-d7b2-4dc8-8ca8-a99074206dc6.jpg</url>
      <title>DEV Community: steelbeginner</title>
      <link>https://dev.to/steelbeginner</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/steelbeginner"/>
    <language>en</language>
    <item>
      <title>Fibonacci sequence</title>
      <dc:creator>steelbeginner</dc:creator>
      <pubDate>Sun, 24 Nov 2019 21:53:09 +0000</pubDate>
      <link>https://dev.to/steelbeginner/fibonacci-sequence-a9h</link>
      <guid>https://dev.to/steelbeginner/fibonacci-sequence-a9h</guid>
      <description>&lt;p&gt;Hello guys,&lt;br&gt;
i know most of you have heard of the famous Fibonacci sequence in most dev practices and probably dev job interview. Am gonna show you how to write out the the sequence for any number of inputs desired. I am using python for this implementation.&lt;/p&gt;
&lt;h3&gt;
  
  
  Method 1: using resursion
&lt;/h3&gt;

&lt;p&gt;This is usually the easiest way to do it because it has lines of code but can mean to be difficult to understand if you dont know the recursion principle itself. So if you dont know what recursion mean i suggest you pause a lil while and hit google or you can check out the next method and research later.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# function to define the logic using the recursion method
def fibonacci(n):
    if n &amp;lt;= 1:
        return n
    else:
        return fibonacci(n - 1) + fibonacci(n - 2)


nterms = int(input())
# check if the number of terms is valid
if nterms &amp;lt;= 0:
    print("Plese enter a positive integer")
else:
    print("Fibonacci sequence:")
    for i in range(nterms):
        print(
            f"{fibonacci(i)} ", end=""
        )  # this is prints out the sequence on a single line. 

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



&lt;h3&gt;
  
  
  Method 2: using Loops
&lt;/h3&gt;

&lt;p&gt;This method seems more familiar with everyone who knows basic programming principles like loops and conditionals. It has relatively more lines of code than the recursion method but its worth knowing too.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#Function for nth Fibonacci number

nterms = int(input("How many terms? "))
# first two terms
n1, n2 = 0, 1
count = 0
# check if the number of terms is valid
if nterms &amp;lt;= 0:
    print("Please enter a positive integer")
elif nterms == 1:
    print("Fibonacci sequence upto", nterms, ":")
    print(n1)
else:
    print("Fibonacci sequence:")
    while count &amp;lt; nterms:
        print(n1)
        nth = n1 + n2
        # update values
        n1 = n2
        n2 = nth
        count += 1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Thank you for reading and dont forget to follow for more cool stuff like this from me... Blessings.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
    </item>
    <item>
      <title>What I don't like about beginner Tutorials (YouTube)...</title>
      <dc:creator>steelbeginner</dc:creator>
      <pubDate>Sun, 17 Nov 2019 20:53:23 +0000</pubDate>
      <link>https://dev.to/steelbeginner/beginner-tutorials-2m9d</link>
      <guid>https://dev.to/steelbeginner/beginner-tutorials-2m9d</guid>
      <description>&lt;p&gt;Hello there. Its again another weekly article where i talk about my journey as a beginner who is self taught. As i said in my last article, i have embarked on my journey to learn php professionally. So I went on to check out the laravel(a php framework) page and i was referenced to an awesome learning page called laracast.com . The content on the site is very beginner friendly but the thing I like most of about is it teaches the way things are done in real life by the professional devs themselves. This kind of thing lacks in most if not all YouTube videos for beginners. I think its okay to just introduce someone to the syntax but also teach it the professional way its done. If someone just watches a crash course on YouTube and does project, it will be a lot of volongoto and unproffessional. &lt;br&gt;
So whenever I watch an episode in the tutorial series on laracast.com , I start to wish every YouTuber  taught the same way or better. &lt;br&gt;
Therefore, this is a loud call to all YouTubers, TraversyMedia, RTC, DevEd to mention but a few , please have a touch of how things are done, professionally  in the real world so that someone can move from a beginners tutorial of crash course when they can start a project and structure it well.&lt;br&gt;
Thank you so much for reading and please leave a comment about the article down below. &lt;br&gt;
Blessings!&lt;/p&gt;

</description>
      <category>php</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How I knew I am a back-end guy...</title>
      <dc:creator>steelbeginner</dc:creator>
      <pubDate>Sun, 10 Nov 2019 14:41:07 +0000</pubDate>
      <link>https://dev.to/steelbeginner/how-i-knew-i-am-a-back-end-guy-4fco</link>
      <guid>https://dev.to/steelbeginner/how-i-knew-i-am-a-back-end-guy-4fco</guid>
      <description>&lt;p&gt;Hello, this is my very first ever dev post. As the title says, i'm learning about myself as a junior dev. I know i am so bad at writing, and if you feel bored you can go to the next post, no hard feelings.&lt;br&gt;
So i recently applied for my first job as a developer. I was and still am very anxious about dev work, and i feel like having a job where they throw at you projects and assignments is a good way to learn in general. So before they employ me they gave me a small project to do. It was a school platform. I had never any serious project even though i can say i have been active for a few months. &lt;br&gt;
The point is, I learned a lot from it. Most importantly i learned that i am way better at back-end than front-end. I was frustrated with choosing colors, typography and all that graphic stuff. It was so frastrating. And yet on the back-end i was busting, well not everything but i was happy about the little i did. Currently i use php on the server but hope to learn python and try that out too. &lt;br&gt;
This has taught me a lot. Now i know i gotta focus on my back-end more than my front-end. Am not quiting the front-end because i think being a full stack is really cool.&lt;br&gt;
Being a self taught beginner is the most intimidating thing i have faced in my life. I have a lot of ups and downs but moved through it and thank God i never thought about quiting and i love that about myself.&lt;br&gt;
Thanks for reading my first site, i know it has been heck long.&lt;br&gt;
Blessings~~&lt;/p&gt;

</description>
      <category>php</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
