Learning Go! (DevDiaries #1)

This article is the start of a series where I track my progress with go and share my code with others. All of the tutorials, and external resources I use will be linked at the bottom of the post.

Quick Things about me!

I have programmed in the past,…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Austin Higgins

This article is the start of a series where I track my progress with go and share my code with others. All of the tutorials, and external resources I use will be linked at the bottom of the post.

Quick Things about me!

  • I have programmed in the past, in college.
  • I have never worked as a software developer.
  • I know a little (C++, Python, HTML, CSS, JS)

LinkedIn: Austin-Higgins
GitHub: Austin-Higgins
Twitter: @AustHiggs

Why Go?
The Syntax makes sense to my brain, it is lightning fast, and it is a compiled programming language. Being able to compile my code for multiple operating systems is important to me.

End Goals

  • Understanding go through doing.
  • Lots of small projects to add to portfolio.
  • At least one cool project to maintain after.
  • Strong focus on APIs and backend stuff.

Project 1 - Web Server
The first project comes from FreeCodeCamp's YouTube channel -> Here. If you follow along this tutorial, you will come out of it with a functional web server.

But... what does all this mean?
Do I need to remember all this?

No, you don't need to remember it all, but follow these rules to get the most out of it.

  1. Type everything. (No copy and pasting)
  2. Do not take credit for other people's work.
  3. Do a little bit each day, build a habit.
  4. Once it is working pick it apart, look through the code and figure out what it does.

We all learn differently
I learned a lot from this first exercise, and if you didn't that's okay... this method probably isn't for you. The main point of this dev log is to document my process, but if it helps even one person, I'll be super happy.

This is what I learned from Project 1:

  • The basic structure of a .go file.
  • Validating our environment works.
  • Assigning variables, importing packages, variables, functions, structs, and more.
  • That anyone can take the first steps, even if they need to start with a tutorial and write things one line at a time.

Roadblocks := "Learning Experiences"
So, I followed the guides exactly and everything worked perfectly? Not Quite.

  • The first web server took a couple hours.
  • The crud api took a couple different sessions over two days. It was hard, but I didn't rush.
  • The third project was simple, and it allowed me to take a couple steps back and understand the fundamentals better. Building an api that you can query that just says hello.

Unorthodox Learning
The learning style in college didn't work well for me, I always liked trying things out even if they failed. Working a few jobs has taught me a lot more than my education I paid for.

I realize this article may not resonate well with people who are purists, and insist on sitting down and digesting whitepapers, textbooks, or other documentation.

That doesn't work for me, and this and future articles are focused on others who are wired that way too.

Thanks for your time! :)
Austin

References & Projects:
Project 1: Here (FreeCodeCamp)
Project 2: Here (FreeCodeCamp)
Project 3: Here(@karanpratapsingh)


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Austin Higgins


Print Share Comment Cite Upload Translate Updates
APA

Austin Higgins | Sciencx (2022-10-03T16:06:04+00:00) Learning Go! (DevDiaries #1). Retrieved from https://www.scien.cx/2022/10/03/learning-go-devdiaries-1/

MLA
" » Learning Go! (DevDiaries #1)." Austin Higgins | Sciencx - Monday October 3, 2022, https://www.scien.cx/2022/10/03/learning-go-devdiaries-1/
HARVARD
Austin Higgins | Sciencx Monday October 3, 2022 » Learning Go! (DevDiaries #1)., viewed ,<https://www.scien.cx/2022/10/03/learning-go-devdiaries-1/>
VANCOUVER
Austin Higgins | Sciencx - » Learning Go! (DevDiaries #1). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/10/03/learning-go-devdiaries-1/
CHICAGO
" » Learning Go! (DevDiaries #1)." Austin Higgins | Sciencx - Accessed . https://www.scien.cx/2022/10/03/learning-go-devdiaries-1/
IEEE
" » Learning Go! (DevDiaries #1)." Austin Higgins | Sciencx [Online]. Available: https://www.scien.cx/2022/10/03/learning-go-devdiaries-1/. [Accessed: ]
rf:citation
» Learning Go! (DevDiaries #1) | Austin Higgins | Sciencx | https://www.scien.cx/2022/10/03/learning-go-devdiaries-1/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.