The Best Resources to Learn Golang (If I Could Start Over)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right today we're going to learn some go every time I stream myself writing golang over at twitch.tv/ Melky I get a bunch of questions from new people or people going to goling asking what resources should I learn what's the best course you can recommend milky how did you learn golang and today I'm going to give you guys my opinion on how I would learn go if I were to start over these are some great resarch I recommend and these are the ones I did when I first started learning go the First on has to be a tour of go everyone should recommend this as the very first thing you go if you want to learn go it goes through Basics it goes through maybe some more intermediate and touches on Advanced subjects and topics of the programming language you can see here you have an interactive editor here package main tells you the format of a go file you can click run here and there you go hello it gives you everything you need with nice explanations of how to use you can choose your language you can go offline whatever you can start with package variables and functions flow control statements for if else you can see here it gives you a great description of everything with some code to go with it and you can continue and go through all the modules all the chapters I love it because it gives you Snippets which are easy to digest a nice piece of code that goes with it which you can really wrap your head around behind the concept and the practical application and how it impacts your editing there's about seven different modules here in t go I highly recommend them if you've never touched them another one I highly recommend is go by example go by example is as it says a Hands-On introdu to go using annoted example programs check out the first example or the or browse the full list below now this list is a lot there's quite a bit here if you have the time and you want to get serious about go start from the beginning and go through each example you can see here it follows the very similar format of tour of go not going to take you a lot of time especially the beginning ones if you are already a programmer you programmed before this will all be easy for you it's introducing yourself to the syntax how to create for Loops the concept of a while loop in go and then it Dives deeper into more advanced topics and very particular go topics like strs interfaces concurrency patterns how generics Works in go all of that is described here for in go by example I highly recommend it even in the defer function gives you more description breaks it down to how everything's written and how the code is executed all right so you may be thinking to yourself well I've done the tours and the worlds and the Whatever by go I need something more mey give me something better if you are serious about go and you've learned the syntax to degree you can execute a main.go file this is your next stop this is called effective go this giant mono repo of a blog post was written in 2009 by the core goang team and it covers literally everything there is to cover in go the purpose of effective go isn't to teach you the concepts of for Loop else statement or even concurrency effective go tries to teach you how to think like a goang developer and really adopt the patterns the goang core team want to implement through this logic it explains different control structures and gives you an example in go this blog post really goes in depth with some of the concept that those previous examples only touch on for example defer goes defer St been schedule a function called deferred function to be run immediately before the function executing the defer returns it's an unusual but effective way to deal with situations such as resources that must be released regardless of which path a function takes to return and it gives you example and it goes more in depth with some situational and style choice that you can go with the defer function it also talks about data and how strs really Encompass the data pattern of goang and how strs could be used how to run methods off of strs this whole article goes into depth but a really really good snippet of this blog post is where it talks about concurrency concurrent programming is a large topic and there is space only for some go specific highlights here only one go routine has access to the value at any given time data races cannot occur by Design to encourage this way of thinking we have reduced use it to a slogan do not communicate by sharing memory instead share memory by communicating which really highlights how this article and blog post should be used all these different components that may not be unique to goink but the way they want to be utilized by the go core team is very much highlighted here and I really recommend read Effective go another good resource to learn go is to subscribe to my channel we're almost at 20,000 subscribers thank you guys so much for your support but I always post goang content goang tutorials different ideas different packages talking about goang so if you consider it mean a lot to me all right now if you're interested in textbooks I recommend to actually build applications there's two that come to mind and they're both by Alex Edwards and they're actually both part of the same series the first one is called let's go learn to build professional web applications with go and there's let's go further Advanced patterns for building apis and web applications in go if anyone has done and read these textbooks they will only say good things about them this was one of the core textbooks I've read to really help me understand how go is used the principle to Alex Edwards here highlights are phenomenal and they're just really really good to go through they're big you know it's a textbook there's lots of pages I think let's go further there almost 500 pages but they are so worth if you break down every module kind of tackle it down these are you know recommendations one and two for textbooks when it comes to go and building web applications apis middlewares area handling all of that these are the great resources for you another another really good way to learn goang is to Listen by the talks from one of the creators and founders of the programming language Rob Pike see I really like Rob and I really like his presentation skills and have an example here from Google IO 2012 so this is almost this is 11 years old where he talks about go concurrency patterns these talks that Rob does are phenomenal they're great tidbits of information and you may be thinking well 11 years old this must be outdated same with the effective go these must be outdated resources they're not because go doesn't move that fast sure there's small ifs and goas between you know a blog post from 2009 and how go 1.22 looks like sure but all in all the main points the main Concepts that these resource teach stay true and I think these are some of the best resources to learn if you want to be a good goaling developer so I hope you all enjoyed this video let me know what you think in the comment section below did I miss one did you think there should be one that could be added let me know and as always you got to [Music] power
Info
Channel: Melkey
Views: 54,700
Rating: undefined out of 5
Keywords: video sharing, video, sharing, computer science, software engineer, silicon valley, computer programming, coding, learn to code, machine learning, artificial intelligence, cloud, python, javascript, how to code, Data scientist, AI developer, Machine Learning, how to learn go lang, how to learn go, becoming a golang developer, best resources to learn go, theprimeagen, theo, theprimetime, anthonygg, best golang course
Id: qT14b1pxtiI
Channel Id: undefined
Length: 6min 42sec (402 seconds)
Published: Wed Feb 21 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.