<?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: Marco Aurélio Bomfim</title>
    <description>The latest articles on DEV Community by Marco Aurélio Bomfim (@marcobomfim).</description>
    <link>https://dev.to/marcobomfim</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%2F252838%2F14a86abd-880e-4c0e-8d9c-88e5f656b138.jpeg</url>
      <title>DEV Community: Marco Aurélio Bomfim</title>
      <link>https://dev.to/marcobomfim</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/marcobomfim"/>
    <language>en</language>
    <item>
      <title>Welcome to C++ Jungle</title>
      <dc:creator>Marco Aurélio Bomfim</dc:creator>
      <pubDate>Wed, 17 Jun 2020 16:32:34 +0000</pubDate>
      <link>https://dev.to/marcobomfim/welcome-to-c-jungle-ae0</link>
      <guid>https://dev.to/marcobomfim/welcome-to-c-jungle-ae0</guid>
      <description>&lt;p&gt;Being a JavaScript developer all this time, it struck me that I have a view of development and how the code works, that is not precisely the same as other languages out there. &lt;/p&gt;

&lt;p&gt;All it takes is opening an Open Source code in Ruby on Rails, for instance, for me to start wondering how things work the way they do, since in JS everything kinda makes sense to me. This is absolutely true for me when looking at C++ code, so in my new journey of studying a new language, and doing some fun projects, I can't stop thinking about my way of viewing things, and how I can explaing to myself, how things work using JS analogies. &lt;/p&gt;

&lt;p&gt;This led me to a different way of studying C++, so this reading may be particularly useful if you're a JS developer studying C++ for some reason (who would do that?!). I've tried looking for some books, or guidance on where to begin, and even managed to find &lt;a href="https://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list"&gt;a very concise list of books&lt;/a&gt;, which I'll definitely read later on, but for now, I decided to follow along &lt;a href="http://www.cplusplus.com/doc/tutorial/program_structure/"&gt;C++ Reference tutorials&lt;/a&gt;, which should be enough for now.&lt;/p&gt;

&lt;p&gt;This post was written at the sound of:&lt;br&gt;
&lt;iframe width="100%" height="380px" src="https://open.spotify.com/embed/album/5YFcEg0KaTy1Q20EYfsCR2%20"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




&lt;h1&gt;
  
  
  The basics
&lt;/h1&gt;

&lt;p&gt;Alright, let's start with our favorite program of all: Hello World:&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;If you want to give it a whirl, open up a terminal (I'm running Ubuntu 20.04), access the folder where the file is located, and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Compiles the .cpp file on the folder as 'hello_world'
make hello_world

# To run, just go with:
./hello_world
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;h1&gt;
  
  
  Variables
&lt;/h1&gt;

&lt;p&gt;Ok, we all know how variables work, no big deal here. I just want to store the actual table of available data types we have on C++, coming straight from the documentation:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--fWOScopH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/kk5kxch49owjn36dzosf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fWOScopH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/kk5kxch49owjn36dzosf.png" alt="Cpp_Data_Types"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, here's the gist with what I've learned so about variables:&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;






&lt;h1&gt;
  
  
  Operators
&lt;/h1&gt;

&lt;p&gt;Operators is something I won't go too much in depth, as they are pretty much the same among languages, BUT, there are some topics that I think is important that I cover and talk about:&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;If for whatever reason you're following this posts, and run the gist above, I've left some variables unused on purpose, and it is very likely that whatever IDE you're using will scream at you a warning like so:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VtyxX98t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/nw0dgr1mvjs6x3c4twjs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VtyxX98t--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/nw0dgr1mvjs6x3c4twjs.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If this happens, feel free to ignore it, or simply print the values of those variables, and the warning should go away.&lt;/p&gt;


&lt;h1&gt;
  
  
  IO Operations
&lt;/h1&gt;

&lt;p&gt;Here we have a couple of examples of how to deal with input from the user, as well as a very nice function called &lt;code&gt;stringstream&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;





&lt;h1&gt;
  
  
  Wrapping up
&lt;/h1&gt;

&lt;p&gt;This should cover enough ground for me to start building some simple stuff. It was a fun ride so far, but there is still a LOT of ground to cover, but thanks if you've read so far. Hope to see you soon!&lt;/p&gt;

</description>
      <category>cpp</category>
    </item>
    <item>
      <title>Figuring out what to do next...</title>
      <dc:creator>Marco Aurélio Bomfim</dc:creator>
      <pubDate>Wed, 17 Jun 2020 14:54:22 +0000</pubDate>
      <link>https://dev.to/marcobomfim/figuring-out-what-to-do-next-19l9</link>
      <guid>https://dev.to/marcobomfim/figuring-out-what-to-do-next-19l9</guid>
      <description>&lt;h1&gt;
  
  
  Lengthy Introduction
&lt;/h1&gt;

&lt;p&gt;Hi, how are you? My name is Marco, I'm a professional Software Engineer (fancy term for developer, although in my opinion broader than front-end, back-end, and company), and I'll start using this place here to share some thoughts on my career, and development in general.&lt;/p&gt;

&lt;p&gt;I want to make this an entertaining "blog" (until I build, and maintain a site of my own), and I want to start writing about some new things on the horizon, as well as spitting out any dissatisfaction I have along the way.&lt;/p&gt;

&lt;p&gt;This post was written by the sound of:&lt;br&gt;
&lt;iframe width="100%" height="380px" src="https://open.spotify.com/embed/album/712VoD72K500yLhhgqCyVe%20"&gt;
&lt;/iframe&gt;
&lt;/p&gt;




&lt;p&gt;I want to start fresh, so I'll start by picking up a new language, and a new project. But how do I do this? How can one start something new? We are so used to doing things over and over again, but never stop to wonder how to start a new path, or walk a new road. Specially now with quarantine upon us, we are getting used to be on our "bubble", introspective, and in a comfort zone, which sometimes can be nice, but right now, I'm willing to break.&lt;/p&gt;

&lt;p&gt;There are a couple of things that helps me to figure out what to do next, and I'll go through each of them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What do I like to do, or at lest, think I like to do?&lt;/li&gt;
&lt;li&gt;What is required of me to get there?&lt;/li&gt;
&lt;li&gt;Where do I start?&lt;/li&gt;
&lt;li&gt;How can I keep up with my progress?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We are not making any big decisions for any multi-billionaire company. Not even close, this is plain and simple a personal decision of what do study and diverge my attention with for a couple of months or years, so I'll not take too much time with decision making processes for now, although later on, as the projects grow bigger, I may think about studying some of it.&lt;/p&gt;




&lt;h1&gt;
  
  
  What have I decided?
&lt;/h1&gt;

&lt;p&gt;I've always been in love with math, and specially, simulations. For the past couple of years I've watched baffled videos from people like those folks below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw"&gt;3Blue1Brown&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UC9-y-6csu5WGm29I7JiwpnA"&gt;Computerphile&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UCHnyfMqiRRG1u-2MsSQLbXA"&gt;Veritasium&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UC0e3QhIYukixgh5VVpKHH9Q"&gt;Code Bullet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UCS0N5baNlQWJCUrhCEo8WlA"&gt;Ben Eater&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UCfzlCWGWYyIQ0aLC5w48gBQ"&gt;Sentdex&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UCY1kMZp36IQSyNx_9h4mpCg"&gt;Mark Rober&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/channel/UCmtyQOKKmrMVaKuRXz02jbQ"&gt;Sebastian Lague&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From the list above, Sebastian Lague was the most influential for this project I've decided to work on. This guy makes the though process of simulations so delightful to watch, that it sparked my desire to build my knowledge to a point where I can think of a scenario, and then make it live inside a computer. &lt;/p&gt;

&lt;p&gt;Also, you may have realized that there is a broad spectrum of topics in those channels, and those are not all of the ones I'm very interested in, but we need a language that may fit in those interests. I wanted something challenging, but that allow me to build projects based on all of the above. &lt;/p&gt;

&lt;p&gt;I've then decided to go with C++, as this is a language based in C, which gives us the flexibility to work on low-level implementations from circuit-boards, all the way up to some high-level usage in Unity Engine, and being such a flexible language, it may be possible to work my way into other subjects such as music, or art, or whatever...&lt;/p&gt;

&lt;p&gt;In the next chapter of this little adventure, I'll start working in a project, to build up my C++ skills. See you there.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
