<?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: Ronald Rowe</title>
    <description>The latest articles on DEV Community by Ronald Rowe (@ronaldgrowe).</description>
    <link>https://dev.to/ronaldgrowe</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%2F811851%2F5905520b-758c-4439-95aa-bd60a492721e.jpg</url>
      <title>DEV Community: Ronald Rowe</title>
      <link>https://dev.to/ronaldgrowe</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ronaldgrowe"/>
    <language>en</language>
    <item>
      <title>The Treacherous Road to Employment!</title>
      <dc:creator>Ronald Rowe</dc:creator>
      <pubDate>Wed, 02 Mar 2022 19:12:06 +0000</pubDate>
      <link>https://dev.to/ronaldgrowe/the-treacherous-road-to-employment-3i44</link>
      <guid>https://dev.to/ronaldgrowe/the-treacherous-road-to-employment-3i44</guid>
      <description>&lt;p&gt;The twists and turns we all experience while looking for that new gig. Let alone a new career, it can be overwhelming.&lt;/p&gt;

&lt;p&gt;Currently, I'm attempting my third shot at finding an open door into the programming world. &lt;em&gt;The third time is the charm&lt;/em&gt; or so they say LOL! 🤞&lt;/p&gt;

&lt;p&gt;My first experience emboldened me. I got quite a few offers right out of college, although the majority of them required relocation.  They were to states that I didn't know anything about or anyone. It was hard to turndown, but with a young family it was too risky.&lt;/p&gt;

&lt;p&gt;Then low and behold the "&lt;strong&gt;&lt;em&gt;too good to be true&lt;/em&gt;&lt;/strong&gt;" job! A remote position with just a few in-office meetings. 🥳️ I completed the phone interviews and simple code review (not a test). Everything was falling into place.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The code review was explaining what a couple of pages of code were doing. It was written in a language I was unfamiliar with and without any comments, but the variable names were enough. It accessed a database to check usernames for birthdates to confirm age verification. My response was met with satisfaction!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then the &lt;strong&gt;BIG BLOW&lt;/strong&gt;... &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/MZSENMEtiHz4BYuCk0/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/MZSENMEtiHz4BYuCk0/giphy.gif" alt="Two men standing next to each other, one just finished a race. The other man who seems to be his coach just reaches over and whacks him in the stomach, catching him off guard." width="400" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Due to fears of an economic recession the company decided to downsize the project, eliminating the need for ME. ☹️ Fortunately, I had a separate career opportunity present itself.&lt;/p&gt;

&lt;p&gt;Fate???&lt;/p&gt;

&lt;p&gt;It has supported my family and allowed me to have a stable lifestyle. Though it has shortfalls, mainly little room to grow and lack of testing mental aptitude. I'm eager to grow and put my mind to use!&lt;/p&gt;

&lt;p&gt;Then I jumped into a Google Python course through &lt;a href="https://www.coursera.org/professional-certificates/google-it-automation"&gt;Coursera&lt;/a&gt;. It was a great interactive program that got me excited about programming again.&lt;/p&gt;

&lt;p&gt;So I was back on the road to finding that developer job. I pulled back onto the road just to get T-boned by Covid-19. Well, we all know what happened to the job market during 2020.&lt;/p&gt;

&lt;p&gt;It did open quite a few more remote jobs after things started to stabilize. Only to be flooded with resumes from 100s of hopeful developers. Yikes! Impossible!&lt;/p&gt;

&lt;p&gt;I received a few of the generic email responses from places that I applied to, but not much interest. I was stumped. Yes, there were hundreds of great resumes but mine got me to the proverbial &lt;em&gt;door&lt;/em&gt; before, what's changed?&lt;/p&gt;

&lt;p&gt;Life kept me busy and I gave the job hunt another break. &lt;/p&gt;

&lt;p&gt;Then I woke up one day and realized it is time. So I started to look at my resume and online presence. My resume looked bleak and my GitHub was simply a disaster. No wonder there was no interest in my last attempt.&lt;/p&gt;

&lt;p&gt;I have started to expand and improve my online footprint so that it will be easier to see what kind of programmer I am. Also, I have started to research cities with greater tech opportunities.&lt;/p&gt;

&lt;p&gt;What challenges or roadblocks have you encountered battling the job market? How have you been able to succeed? Feel free to share your experience or leave words of encouragement to everyone on this journey!&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>career</category>
      <category>programming</category>
    </item>
    <item>
      <title>#Commenting Code... Before, During, or After?</title>
      <dc:creator>Ronald Rowe</dc:creator>
      <pubDate>Tue, 22 Feb 2022 18:16:47 +0000</pubDate>
      <link>https://dev.to/ronaldgrowe/commenting-code-before-during-or-after-m4d</link>
      <guid>https://dev.to/ronaldgrowe/commenting-code-before-during-or-after-m4d</guid>
      <description>&lt;p&gt;I'm not here to give a lesson on commenting code, rather I'm hoping to learn a thing or two. Comment at will! &lt;/p&gt;

&lt;p&gt;Commenting code, oh all the things we have heard about this &lt;a href="https://www.google.com/search?q=commenting+code+best+practices&amp;amp;rlz=1C1CHBF_enUS824US824&amp;amp;oq=commenting+code+best+practices&amp;amp;aqs=chrome..69i57.18125j0j4&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8"&gt;topic&lt;/a&gt;. No matter how many different thoughts or ideas there are on this subject, we can agree on a few main points.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Comments should explain what and/or why, not how.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Good comments don't excuse bad code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Comments need to be brief but informative.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Utilizing the &lt;strong&gt;&lt;em&gt;During&lt;/em&gt;&lt;/strong&gt; method of commenting code must be for the experienced developer. The ability to maintain concentration effortlessly while breaking for only a moment to efficiently comment where needed is quite impressive. I get so focused on the task at hand, I'd worry breaking my concentration would cause me to lose my train of thought. This would be ideal to complete projects with as little backtracking as possible. The things I have to work on and look forward to!&lt;/p&gt;

&lt;p&gt;Commenting &lt;strong&gt;&lt;em&gt;After&lt;/em&gt;&lt;/strong&gt; getting the function working is what I find works best. This makes me take that second look at my work before moving on. As being a newer programmer it is advantageous to self-review your work. You have to backtrack through your code, but you more than makeup for what you lose in efficiency. You often catch easy mistakes, redundant code, or errors that will lead to issues in the future. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The other day I decided to create a little program in Python to find prime numbers in a range with a user inputting the maximum. After getting it working I decided I better practice commenting as well. Redundant Code! Well, that was just the first thing I noticed and fixed. I also had forgotten to check the input value, negative numbers cannot be prime. This was accomplished by just commenting on my code using the &lt;strong&gt;&lt;em&gt;After&lt;/em&gt;&lt;/strong&gt; method.&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;primeList&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
&lt;span class="n"&gt;numerator&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
&lt;span class="c1"&gt;#loop through numerators to be checked
&lt;/span&gt;&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="n"&gt;numerator&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="n"&gt;maxNum&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="c1"&gt;#Redundant Code!
#    if numerator % primeList[z] == 0:
#       numerator+=1
#    else:
#         z+=1
#loop through prime factors
#should have iterated using for loop
&lt;/span&gt;    &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;primeList&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;numerator&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;primeList&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;numerator&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
            &lt;span class="k"&gt;break&lt;/span&gt;
        &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
             &lt;span class="n"&gt;z&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="c1"&gt;#add prime factor to primeList
&lt;/span&gt;    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;primeList&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;primeList&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;numerator&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;numerator&lt;/span&gt;&lt;span class="o"&gt;+=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, the &lt;strong&gt;&lt;em&gt;Before&lt;/em&gt;&lt;/strong&gt; method is more of creating an outline for your code in comments. Usually based on tech notes or steps you have come up with as they often contain the what or why. These can assist you in starting to create good comments. I can see this being an option as I progress on my journey. It will allow me to maintain focus and have a guide as I code. Now that we got the boring but necessary comments out of the way we can get to work! It will take some practice to be able to prewrite all necessary comments. So I can see where this style might need the help of one of the others to truly work.&lt;/p&gt;

&lt;p&gt;Commenting our code can seem tedious and pointless, but it will help future developers. It will help the less experienced most, but may even be helpful to the original developer one day. Finding your style or combination of styles is key to success in reducing the dread of commenting. Feel free to let me know what works best for you or any tips or tricks you might have found along the way.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
