How I Would Re-Learn Go, Advice after 1 Year and 1 Production App
Vložit
- čas přidán 8. 05. 2024
- How would I learn Go if I had to do it again? The honest answer is quite simple: just build stuff. In this video I go over some examples of what you could build, some key concepts, and the very first thing to do to get the language running. Go is a great language with a bright future, and learning it is far from a waste of time!
START HERE: go.dev/doc/tutorial/getting-s...
Web Server Example
Fiber: docs.gofiber.io/
MongoDB: www.mongodb.com/docs/drivers/...
CRON Example
GoCron: github.com/go-co-op/gocron
My Stuff
Twitter: / benjamin41902
Insiderviz: www.insiderviz.com
timestamps
0:00 intro
0:51 Go as your first langauge
2:15 migrating to Go
#golang #programming #webdevelopment - Věda a technologie
Projects for GO:-
1) CRUD REST API - todo app, book app (fiber + go)
2) CLI TOOL - calculator app
3) high performance backend worker - GO cron
Looking forward to more go videos! Thanks
Your channel has been so relevant for me for the past month since I found you. I'm leaving cushy corporate dev job to join a very early startup pretty soon. And the stack I and the other devs are so similar to yours. I'm finally getting around to learning go myself now.
Its a great language, best of luck!
Excellent video - and great suggestions which I will be following - and I hope something similar is on the way for TS, as I liked the way you included a path and suggestions for experienced people and noobs, so something similar for TS, in terms of how to go about learning it if you are not already familiar with JS would be useful as well as suggestions for those who already know JS... Either way, thank you for making these videos, and I hope your channel really grows as you deserve it!
This video is just what I needed thanks
Great video! Jumping into Go atm!!
The importance of this video simply cannot be overstated. It is truly must watching for people learning Go.
Hey bro good video, I'm looking to learn go your channel seems the right place :)
Solid advice. I'd go for a big project rather than smaller apps.
Well said! :)
I have a few years of experience in Python, recently they asked me to translate a Python exporter to Go at my job (I didn’t know anything about Go at the time) and I just loved the language, really easy, fast and fascinating
As a FE dev, I can say it's not that hard to pick up Go. It feels like it was built with "sophistication by simplicity" in mind. Thanks for being direct to the point. Great video.
@3:57 it's always good to have a go-to idea... for me I build the backend logic for Game of Life, then I build the frontend in the same ecosystem. That's usually how I learn a new language
Thank you !
@3:32 This is true for every programing language: learning by building real world project (also it' s true for other fields like electrical engineering, robotics...)
The hardest thing to do as someone learning new languages is figuring out a list of projects that slowly increment their difficulty, could you perhaps throw a bunch of ideas or even better, a roadmap for learning projects?
Roadmap coming later this week, tonight I'm gonna be streaming all three of the ideas I gave here!
Good video.
Watching this video again.
great video, i've learned about fiber from it. should i preffer fiber over gorilla? i've seen that at least one gorilla package is looking for a new maintainer.
Fiber is easier and super fast. It’s currently my framework of choice, although mux does give you more control
@@bmdavis419 actually i noticed that gotilla repo is now archieved, which is not what i want. But transition to fiber was very easy in my case. Thank you.
Agree with all the the points you mentioned, especially the one about learning by reading and not video tutorials....... except the suggestion to learn python/ruby/interpreted language first.
Thats like learning how to drive then applying for a mechanic job. Those languages are great in their specific domains and for quick and dirty solutions, but if you start your learning with a language that hides all of your mistakes under the rug, it'll take you ages to reach the level of an average programmer.
Do this video but for react :)
Hey, thank you for this awesome video. I started learning GO 2 days ago, and I think it's a great programming language. I have been programming with C# for 3 years now, and I would like to migrate to GO so I can get more opportunities. how long can the learning curve take with me as an experienced developer to be a GO developer ? thank you in advance.
IMO C# => Go is probably easier than TS => Go, I would guess it would take a few months, but if you are actively making stuff in Go you will probably get there pretty quick
@@bmdavis419 thank you very much for your answer and for all the effort you're making in this channel, good luck :)
Recently learning basics of go. Just to kind of know... and putting off python as i have a dislike for tab based languages
To me it sounds like Go will change in future, so be prepared to have to re-learn how to do everything every few years. (A bit like with Python.)
I think go is waiting for its React moment, the thing that makes it the go to for backend development the way Next/React have made TS the go to for FE (and tbh BE). Its got a long way to go, but I think someday it will get there!
Make more videos on golang
why should we use fiber? since fiber does not support the http/2 protocol.
If you need http/2 then don't use fiber, but for most apps you really don't and fasthttp works fine. For me I use it b/c its fast and easy to write/use.
@@bmdavis419 can u do a comparison between gin and fiber
Does Go really need a web framework at all though? Isn't Go basically a web framework itself?
@@tuffrabit go is a programming language
@@thanhthanhtungnguyen8536 yes indeed it is. It's a language who's standard library has quite a mature and feature rich set of http functionality.
Thank you. I don't agree with the advice that if one is totally new to programming, it is better to start with Javascript or Python.
If I were to relearn programming, I would start with C/C++. The issue is with JS or Python is that takes away a lot of fundamentals through abstraction. New programmer should learn how to think low level. Once a beginner is comfortable with C/C++, I believe they can start looking for other languages like JS or Python.
LEARN THE HARD WAY.........
Thank you again I will follow your advice on how to learn Go.
Idk I totally agree we should all go through C for at least a bit, but idk if that is how you start. Letting newbies build something tangible quickly is a great way to get them interested, vs having to overcome the wall of pointers and make and C and shit is really hard and will filter a lot of good people out...
GO is a simple language to learn
but it's so d**n hard when it comes to being expert in it .
I love it though .
what's your review on Rust ?
Yea I 100% agree, concurrency and big projects get pretty crazy. I am not a Rust guy, but I think its a very good language with a bright future, just not for me, at least not for now.
Dude the background music is too loud, good initiative with the Go though
Good to know, will get that fixed on the next one
@@bmdavis419 Thank you Ben
Start from Go Playground.
Use Postgres my G
Ruby is, in my opinion, the king of first languages to learn.
Well I like OOP
Functional programming is fun but
I like OOP more and as much as I see go looks like more powerful express 😂
It started off well, until I saw that fiber + mongodb stack. Literally the worst framework (supports only a subset of http1.1 and uses different interfaces than the stdlib so that no third party libraries work) on top of what is arguably the worst mainstream db.
What do you recommend instead? I’m just starting to learn to Go.
Would you recommend Gin?
@@Manana7016 try to only use the standard library first. Then feel free to use whatever you like, I'd recommend Gin since it's the most popular one
@@Manana7016 gorilla/mux and postgresql
@@moveonvillain1080if your web api will be tough, then yes, gin is a good choice
Just go.
Java >>> Go
Bolated slow c++ is far better
We are experts at go😄😄⚡⚡go help us get employment