<?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: Vinícius Quadrado</title>
    <description>The latest articles on DEV Community by Vinícius Quadrado (@viniciusquare).</description>
    <link>https://dev.to/viniciusquare</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%2F597098%2F9df23160-3a10-4a5a-b4be-4ce296c4585f.png</url>
      <title>DEV Community: Vinícius Quadrado</title>
      <link>https://dev.to/viniciusquare</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/viniciusquare"/>
    <language>en</language>
    <item>
      <title>Clean Code, a book programmers MUST read</title>
      <dc:creator>Vinícius Quadrado</dc:creator>
      <pubDate>Sun, 25 Dec 2022 20:15:26 +0000</pubDate>
      <link>https://dev.to/viniciusquare/clean-code-a-programmers-must-jaj</link>
      <guid>https://dev.to/viniciusquare/clean-code-a-programmers-must-jaj</guid>
      <description>&lt;p&gt;Starting my developer career I experienced a really good interaction with the team where we were proposed to read a book and weekly we discuss about it. We're currently at the 14th chapter - &lt;strong&gt;Successive Refinement&lt;/strong&gt;&lt;br&gt;
This chapter is interesting as it is a show case and validates almost all rules said up to now. Uncle Bob - writer friendly nickname - brings his engineering process from a class that handles string of arguments and extract from the text booleans, sub strings and integers.&lt;/p&gt;

&lt;p&gt;At the start, only booleans were being extracted and validated from the string.&lt;/p&gt;

&lt;p&gt;At this point, even though the code is in Java, we can see clearly somethings taught by the book very important to code structure and readability:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Well named/positioned variables/methods;&lt;/li&gt;
&lt;li&gt;Methods intent very clear;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cohesion is very good, also vertical distribution, for example, when a function calls another, this other is written next to its usage.&lt;br&gt;&lt;br&gt;
Following a comprehensive sequence and clearly naming pattern allows the reader to understand what’s being done and prevent the need to “lost scrolls” through the code looking for anything. A &lt;em&gt;well written prose&lt;/em&gt;, as it’s called on the book;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Error handling is well defined and messages shows clearly what is wrong;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When he starts to handle more types, the code starts to grow and repeat it self with few changes. Here he emphasizes how a programmer needs to know when it’s time to stop adding features and start some refactoring, he says:&lt;br&gt;
→ &lt;em&gt;Many different types, all with similar methods — that sounds like a class to me&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So he starts to separates responsibilities as types handling and content validations to another class, and so on.&lt;/p&gt;

&lt;p&gt;I though as very rich conclusion, even tough reading pages and pages of Java code without IDE highlight was hard, the message was clear.&lt;/p&gt;

&lt;p&gt;While reading, I took note of concepts learned and I intend to bring some show cases too about it using newer technologies other them Java. I want to build a knowledge base with concepts from the book, coming soon.&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>Compiling data, web or e-mail scrapping?</title>
      <dc:creator>Vinícius Quadrado</dc:creator>
      <pubDate>Tue, 20 Apr 2021 11:36:30 +0000</pubDate>
      <link>https://dev.to/viniciusquare/compiling-data-web-or-e-mail-scrapping-2b9d</link>
      <guid>https://dev.to/viniciusquare/compiling-data-web-or-e-mail-scrapping-2b9d</guid>
      <description>&lt;p&gt;&lt;strong&gt;Hello&lt;/strong&gt;, &lt;br&gt;
I'm little new on this dev, "solution creator" line of thought... I also a little self impostor, always feel like it's a dumb question, anyway, I need some help with this scenario:&lt;br&gt;
At my work, we receive some requests through our client's interaction to a bot on ours website. Each comes on a e-mail with the submitted info, also available at the bot's control panel. I need to compile the data into a sheet and update by given schedule.&lt;br&gt;
I'm currently at Javascript, thinking about try Puppeteer to web scraping the data then export JSON for some fancy view or CSV to format on Excel later...&lt;/p&gt;

&lt;p&gt;Is it easier to do through the panel (complex analysis for simple update, I think) or through the e-mails? &lt;/p&gt;

&lt;p&gt;Can someone help start to think about a solution? I would appreciate&lt;/p&gt;

&lt;p&gt;Thanks! &lt;/p&gt;

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