How I Would Re-Learn Go, Advice after 1 Year and 1 Production App

Sdílet
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

Komentáře • 63

  • @samarjeetsinghkheda9460
    @samarjeetsinghkheda9460 Před 2 měsíci +7

    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

  • @hfislwpa
    @hfislwpa Před rokem +7

    Looking forward to more go videos! Thanks

  • @KevinVandyTech
    @KevinVandyTech Před rokem +22

    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.

    • @bmdavis419
      @bmdavis419  Před rokem +2

      Its a great language, best of luck!

  • @themarksmith
    @themarksmith Před rokem +2

    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!

  • @rohanbhujbal6327
    @rohanbhujbal6327 Před 8 měsíci +1

    This video is just what I needed thanks

  • @HONjramiroz98
    @HONjramiroz98 Před 8 měsíci +1

    Great video! Jumping into Go atm!!

  • @esra_erimez
    @esra_erimez Před rokem +15

    The importance of this video simply cannot be overstated. It is truly must watching for people learning Go.

  • @darkfoxwillie
    @darkfoxwillie Před rokem +1

    Hey bro good video, I'm looking to learn go your channel seems the right place :)

  • @j.r.r.tolkien8724
    @j.r.r.tolkien8724 Před 2 měsíci +3

    Solid advice. I'd go for a big project rather than smaller apps.

  • @MarcMcRae
    @MarcMcRae Před rokem +1

    Well said! :)

  • @MrCentrax
    @MrCentrax Před 6 měsíci +2

    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

  • @alexandrealencar1796
    @alexandrealencar1796 Před rokem +5

    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.

  • @kristophermanceaux1153
    @kristophermanceaux1153 Před 5 měsíci

    @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

  • @manthansharma6769
    @manthansharma6769 Před 6 měsíci

    Thank you !

  • @yassinebouchoucha
    @yassinebouchoucha Před 8 měsíci +2

    @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...)

  • @ruchi__
    @ruchi__ Před rokem +10

    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?

    • @bmdavis419
      @bmdavis419  Před rokem +4

      Roadmap coming later this week, tonight I'm gonna be streaming all three of the ideas I gave here!

  • @IkraamDev
    @IkraamDev Před rokem +1

    Good video.

    • @IkraamDev
      @IkraamDev Před 3 měsíci

      Watching this video again.

  • @4otko999
    @4otko999 Před rokem +1

    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.

    • @bmdavis419
      @bmdavis419  Před rokem +2

      Fiber is easier and super fast. It’s currently my framework of choice, although mux does give you more control

    • @4otko999
      @4otko999 Před rokem

      @@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.

  • @tehseensajjad1003
    @tehseensajjad1003 Před rokem +1

    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.

  • @parkerrex
    @parkerrex Před 7 měsíci

    Do this video but for react :)

  • @wahebbenzaid543
    @wahebbenzaid543 Před rokem

    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.

    • @bmdavis419
      @bmdavis419  Před rokem +1

      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

    • @wahebbenzaid543
      @wahebbenzaid543 Před rokem +1

      @@bmdavis419 thank you very much for your answer and for all the effort you're making in this channel, good luck :)

  • @nivoset
    @nivoset Před rokem +1

    Recently learning basics of go. Just to kind of know... and putting off python as i have a dislike for tab based languages

  • @illegalsmirf
    @illegalsmirf Před rokem +5

    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.)

    • @bmdavis419
      @bmdavis419  Před rokem +1

      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!

  • @taniaduggal6459
    @taniaduggal6459 Před měsícem

    Make more videos on golang

  • @thanhthanhtungnguyen8536

    why should we use fiber? since fiber does not support the http/2 protocol.

    • @bmdavis419
      @bmdavis419  Před rokem

      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.

    • @thanhthanhtungnguyen8536
      @thanhthanhtungnguyen8536 Před rokem

      @@bmdavis419 can u do a comparison between gin and fiber

    • @tuffrabit
      @tuffrabit Před 11 měsíci

      Does Go really need a web framework at all though? Isn't Go basically a web framework itself?

    • @thanhthanhtungnguyen8536
      @thanhthanhtungnguyen8536 Před 11 měsíci

      @@tuffrabit go is a programming language

    • @tuffrabit
      @tuffrabit Před 11 měsíci

      @@thanhthanhtungnguyen8536 yes indeed it is. It's a language who's standard library has quite a mature and feature rich set of http functionality.

  • @AbedDan
    @AbedDan Před 2 měsíci +1

    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.

    • @bmdavis419
      @bmdavis419  Před 2 měsíci +1

      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...

  • @mahdizarepoor8964
    @mahdizarepoor8964 Před rokem +5

    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 ?

    • @bmdavis419
      @bmdavis419  Před rokem +2

      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.

  • @lipin007
    @lipin007 Před rokem +4

    Dude the background music is too loud, good initiative with the Go though

    • @bmdavis419
      @bmdavis419  Před rokem +1

      Good to know, will get that fixed on the next one

    • @lipin007
      @lipin007 Před rokem +1

      @@bmdavis419 Thank you Ben

  • @Alex-hr2df
    @Alex-hr2df Před rokem +2

    Start from Go Playground.

  • @cjjb
    @cjjb Před 8 měsíci

    Use Postgres my G

  • @RA-xx4mz
    @RA-xx4mz Před rokem +2

    Ruby is, in my opinion, the king of first languages to learn.

  • @Muhammed-nani964
    @Muhammed-nani964 Před 9 měsíci

    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 😂

  • @BosonCollider
    @BosonCollider Před 5 měsíci +16

    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.

    • @Manana7016
      @Manana7016 Před 4 měsíci +1

      What do you recommend instead? I’m just starting to learn to Go.

    • @moveonvillain1080
      @moveonvillain1080 Před 3 měsíci

      Would you recommend Gin?

    • @dukeofnorfolk1842
      @dukeofnorfolk1842 Před 3 měsíci

      ​@@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

    • @duskchancellor-if8yi
      @duskchancellor-if8yi Před měsícem

      ​@@Manana7016 gorilla/mux and postgresql

    • @duskchancellor-if8yi
      @duskchancellor-if8yi Před měsícem

      ​@@moveonvillain1080if your web api will be tough, then yes, gin is a good choice

  • @fuzzy-02
    @fuzzy-02 Před měsícem

    Just go.

  • @StayAware9
    @StayAware9 Před 6 měsíci +1

    Java >>> Go

    • @Simple_OG
      @Simple_OG Před 3 dny

      Bolated slow c++ is far better

  • @fredrickdenga7552
    @fredrickdenga7552 Před rokem +8

    We are experts at go😄😄⚡⚡go help us get employment