spent the last 10y as a node/react/yadayadyada dev, felt the burn out harrrd the last few years, recently switched to righting a lot oft go and zig and feel its a huge breath of fresh air. I love the term JS detox. I am so glad to be taking a break. Great video!
What do you use go and zig for? I would love learning these languages but I have no idea what I would use them for, like projects dont come up in my mind
I've been learning web dev and swimming in the javascript ecosystem for around 6-7 years and now I work as a golang dev, this is becoming more and more common.
@@0oShwavyo0 I started with carrying over things I've learnt in JS by building use-case specific projects in golang, like a project just to understand building APIs, CLIs, distributed computing using goroutines, so on so forth, and reading the official docs and the source code of standard Library, it has a lot of comments and inline documentation which is super cool to read through, there are many things that's similar both in terms of language syntax and design patterns between Js & golang, but there are some golang specific design techniques such as struct embedding and project structuring quirks, this takes some time getting used to.. watch golang talks from conferences, engulf yourself in the content the community is putting out and you'll start enjoying the learning process..
@@0oShwavyo0if you already skilled developer and worked with blackend , know about database's, message brokers, microservice concepts - you can learn Go like in a week and start looking for go jobs. There is a pretty high demand for go Devs and companies pretty happy to get one who just transitioned
I think we gotta respect him being so honest about what he knows and doesn't and that he realizes that some things might not be accurate and always informs the audience. Just for reference pointers and references are not the same when you want to modify a variable you pass by pointer, reference semantics is something in c++
Things I love about go: - stdlib (it's really amazing) - compile time - interfaces (i really like go's approach of implementing interfaces) - error handling (some people hate this) - concurrency model - and the best feature, 'defer'. I miss that feature so much whenever I use TS. Things I don't like: - Lack of generics in the stdlib. - Naked return - That uppercase export
Defer is amazing, they really knocked it out of the park with that one. I don’t personally love the whole interface thing, because at least to my knowledge it’s not very easy to see what interfaces a particular object actually implements. Overall big fan of Go though, sad that I didn’t try it out sooner!
@@0oShwavyo0you can lookup for some extensions to find implementations of interface, in goland, it shows which struct implements a interface right above interface and vice versa
Which version of Go do you use or when did you last write a program in it,cause from go version 1.6 there have been generics and now with 1.22 they are much better
Go has been a major breath of fresh air for me. You can also see how much influence it has on things like bun and deno It’s also hard to describe but the LSP is super good. It does a lot of really nice things for you
Cody really stands out when it comes to authenticity and transparency. The video starts with him just saying why he is learning Go. For other RUclipsrs, that would have been said somewhere at the end of the video (if not click bait) but not Cody! Keep up the great work Cody.
I happen to also be learning Go at work and I come from a React/TS world, so it's nice to see your reflections on your learning and what you appreciate about Go coming from so much experience in JS land.
@@babar-khan good question! while I have good experience in frontend programming, I am also pushing myself and looking for opportunities to at least be competent with backend even if it never becomes my area of expertise, that way I can be more of an asset to the companies I work for. Learning Go is moving in that direction.
17:30 defer is great, because it guarantees something gets done at the end of the function, so even if you have multiple returns you can have the one deferred function call. It's particularly useful in Go because early returns are very common with the normal error handling patterns.
I'm extremely happy that you're doing content on Go. It's going to be a lot more adopted in the future, and getting started early would be great for you since there aren't many content creators for it. Go is a beautiful language that's so simple. I love that if you capitalize or lowercase the beginning of a variable/type/function/method it defines if it's public or private. Makes it so easy without having to use keywords like `public` and `private`. Keep it up!
Every statement here is wrong. You should check benchmarks and make your own. Golang is not that fast. Most "old" bench that make this myth were based on the fact that serialization was based on code gen, meanwhile dotnet and java catched up. Rust and C++ are the most performant. dotnet core has the best DX. Saying a platform that don't compile to machine code and rely on GC is as fast as C/C++ is non sense.
@@pepperdayjackpac4521 in term of DX and syntax, Python is good but let's be honest... Its adoption has been caused by science universities that wanted to replace C++. Typescript should have taken that spot in my opinion. Python is one of the least performant these days.
@@pepperdayjackpac4521Python and Go have abstracted syntax. Simple syntax is of languages like C and other very low level languges in my opinion. You have to rate simplicity by the levels of abstractions to agree with me though.
I clearly understand you. I was a team lead in startup, was working with JavaScript frontend and nodejs 5 years and now I'm happy working as back-end Go developer in big local company and I'm loving it
We love Go! I have had a recent epiphany along the same lines. I use JS and TS so much at work sometimes I just want a simple language where I can lean on the std lib and not have to learn the newest framework for every little aspect. Go is a breath of fresh air. It feels like when you learn something you’ll be using that knowledge much later down the line and not have to relearn the new way to do it with every project. I have even got some Go microservice a up and running at work and a powerful cli tool to automate a huge problem we had on a on perm server which badly needed to be concurrent so Go was perfect.
computers will have usually less than a dozen cores in their cpu, cores could have hundreds of threads, coroutines (what go calls goroutines) are a lightweight abstraction on top of traditional threads. there can be thousands without much overhead. it’s managed and garbage collected by go during runtime. hope this helps
As someone whom went from C/++ to JS/TS and is just now starting on Go, this video was really cute seeing you discover concepts Go's inherited from C :)
Hey dude, first time landing on your channel. That moment at 0:23 when you mentioned feeling burned out on JS? Totally resonated with me. I've been in that boat, questioning if it's just me or a common vibe among devs. Been there with PHP and JS too, albeit for a hefty 8 years. Just hit subscribe while dropping this comment. Keep up the cool content!
For just starting to learn it, your assumptions are dead on. it's actually pretty wild how quickly you determined what was happening underneath intuitively.
The biggest thing that soured me on Node and JS for the server is I just got so tired of trying understand the massive skyscraping stack of abstractions between the code I write and what actually happens on the machine. I had to switch to C# when I got a new job and while it’s a bit stuffy it’s not trying to hide a mountain of bodies to accomplish the basics. I still love JS for handling the dom, it’s excellent at it. It’s an adequate Frontend language for the browser (it is now anyway, took 30 years to get there). HTML, CSS and JS are still to me the easiest and most flexible way to make UIs. But man am I glad to be off of Node.
Enjoyed this video.. I am pretty early on in my Go journey & can totally relate to your comments/findings. I completely agree with you on the JSON thing.. it feels so native in JS/TS that any other language does seem like a step backward, but as you say, not the end of the world. Some things I do really miss from JS land, are optional chaining operator, not having to format console logging (just print it!) & template literals.
"go fmt" is the standard formatter for Go. I like to use gofumpt instead -- it's a drop-in replacement that extends what go fmt does, so go fmt won't undo its changes. It's just a little bit stricter with what it formats, like unnecessary blank lines and variable assignments, but I like it a lot. (it'll also sort your imports in a more nitpicky order that's very common.)
I just started learning GO towards end of 2023. It's so much fun, easier, faster and now I am half-way transitioning my complex JS project to Go and HTMX.
Man feel the same way. I’m still early - mid career but spent the last 3-4 years diving deep into JS and the constant ever changing land of frameworks Might have to pick up Go in my spare time after work. I admire the BE because tools and/or eco system is more stable and concrete Also, it stimulates me differently than FR, where most of the time it feels like I’m stirring a pre made pot of ingredients adding more seasoning, hot sauce, ect Vs BE it feels more like cooking from ‘scratch’ no pre-made packaging
I love programming and wanted to explore Go. So I decided to port a Java app that we use professionally to use Go. Although I found it pretty fun to use and easy but man it is tough to sell to Java and JS devs. Even I felt a bit crazy when I showed my colleagues the final ported app and told them that this is "better". From their point of view they were staring at gibberish with pointers and they'd like to be as far as possible from that
This is exactly what I did. Go is even cool because you can cross-compile to other platform and it just works ( assuming you don't pull some C library ). And you can embed html or SPAs into the binary. Thanks to learning Go, WASM is kind of easy. Fulltime JS does getting boring. So it's nice to take a break.
very simply put: you could see struct as a kind of immutable variable type, predefined to use in the program. You could temporarily make it mutable-ish, by using pointers (which doesn't actually change the struct variable, but a copy of it)
I'm learning Go too. When I came across type aliasing in one of the exercises I thought, this is so cool. For example: type Quantity uint Then x := Quantity(4) or func order(qty Quantity) etc.
If you want smaller executable sizes, try setting the -s parameter to leave out the symbol lookup table. I also vaguely remember -d making the output smaller for some reason, but I can't remember why, so YMMV.
Don't forget too that Go is a garbage collected language, which means it's compiled with the GC, so on average it's going to have a larger files size than most compiled languages.
Great content as always! I too am trying to branch out from web development by learning things that fascinate me. This was exactly how i got into web development in the first place anyways ;)
As a go dev, i valid. Once you enjoy the simplicity of Go, it’s hard to switch to other stuff. Error handling became a big thing now that i’m working on a java project
after 5 years of php(laravel,codeigniter) with bunch of composer packages and really complex eco system, go feels like a fresh air. Go literally haves so many tools out of the box AHHHGh dream language.
I'm reading Let's go by Alex Edwards and im loving so much go, as a frontend dev with 6 years of experience im so done with JS ecosystem and learning go has been a refreshing thing to do!
I read an article the other day about the hype around golang because I was curious and it def convinced me. I’m learning swift rn and they are very similar.
2:10 don't worry, rust isn't that hard to learn really - you can mostly ignore lifetimes for a lot of early learning if you are willing to clone instead, and slowly learn to work with lifetimes etc over time. Rusts enums/match are amazing for a lot of things! great language, would recommend
Great video, but I think you’re *absolutely* ready for Rust! I say this having watched this whole video; you are a *solid* developer, my friend. P.S. Nobody ever thinks they’re good enough! Just gotta get your feet wet, and before you know it you’ll be underwater :)
i’m detoxing on golang right now myself. one thing you should look at doing set up a vscode dev container. i’m finding is so nice to set up my dev ends this way so i can spin up servers quickly for dev and know the arch matches deploy location.
Yup I also like its simplicity. You can do pretty much everything with its standard library. The only thing I truly dislike are the magic strings and definitely with parsing json in structures.
I love React, although I suck at it. But I also love how you went full Go content. Probably do some Go problems for developers who have interview with this language programming. :)
Great video but HELP! lol Im in the process of deciding on which language/s to learn for Web development of my own projects. Im drawn to GO for reasons as you say, but not sure if HTMX cuts it for front end. I struggled to find any professional looking web apps. Which means leaning JavaScript/ TypeScript anyway. Or is it just easier to stick with the JavaScript/ Node JS for front and backend? Im not worried about which gets me a job its solely to build out my own Web3 projects.
If you just want to build webapps, then both Go + HTMX or Node + React would do the trick, both are pretty simple too, but Go + HTMX have a much better performance for slightly bigger apps while Node + React have more libraries available.
The reason you're surprised about the size of the compiled binary, is because you're forgetting that its also compiling your code with the garbage collector. If you were compiling your code in C or C++ it would be a lot smaller, which is what you were expecting, but what makes Go nice, is you don't have to think about memory management as much, because of the GC; the tradeoff is a larger executable.
How do you make your thumbnails bro? Can I slightly copy a similar style thumbnail for my videos? Your thumbnails are some of the best I’ve seen in coding RUclips imo.
oh wow, thanks for the kind words. I just use gimp. Each thumbnail I try to have the these key ingredients. - picture of me (get good lighting and take the picture in portrait mode on iphone, remove the background on mac) - a subject image (the gopher) - a short headline ("I'm a go simp") - sometimes I'll add an arrow if it helps guide the eye to where I want the viewer to look - throw a gradient background and add some faint code overlay in the background - throw in a couple of radial gradients behind myself - sometimes add a drop shadow to the subject (gopher has a purple drop shadow with a lot of extra bluring)
Perfect man. Thank you so much I appreciate that. I never heard of gimp but I’m def checking it out lol. And I was gonna ask , one last question lol. Do you also record on your iPhone? I’ve been thinking about just recording on an iPhone since it’s so easy to setup.
I like this kind of content even though react and js development in general is ny main thing. I have been torn between java, rust and go. I like the way go does some things. Its a nice change. Since go has rep for being fast and has support for backend APIs, i see it as logical next step. And there is nothing wrong with the kind of content youre producing. I see you doing a lot of different things and i mentally note them down as things to explore and learn, but im kinda doing same thing always i.e. js
I've been messing around with Go recently coming from mostly Java/Python and it's quickly becoming my favorite language. Not one-size-fits-all by any means but it's pretty close for my usage to be honest.
The only reason why i don't go all-in on Golang, is because i don't really like writing infrastructure, low level, network and crypto stuff. And those are primary fields where go is used.
I love golangs Json handeling your example misses one thing and that is the struct for the json Request. Golangs Json and Marshal workflow is like using zod on every incomming Request or Response
"I just want something simple" while having a k8s folder in your project is fucking golden :D
Shh you didn’t see anything 🙈 at this point k8s might be simplier than this aws Rube Goldberg machine we’ve been marketed as “the future”
🤣🤣🤣🤣
K8s is so easy once you understand it...
K8s is easy. I just email the devops guys at work and they take care of everything.
I just use chat gpt for that. Simple enough for me 🫠
We love Golang
it's the best way to make API and handle servers efficiently !!
Dont stop Making Go content
hello how can i connect to you...I want some questions answered if possible
Incorrect. The beam vm is far superior. Learn elixir.
@@EricLouisYoung Unpopular opinion but fckn true, surely i will give it a try !!
@@EricLouisYoungTrue to an extent. Do you think BEAM green-threads can compete with Go's?
@@nahiyanalamgir7056 totally different tools.
spent the last 10y as a node/react/yadayadyada dev, felt the burn out harrrd the last few years, recently switched to righting a lot oft go and zig and feel its a huge breath of fresh air. I love the term JS detox. I am so glad to be taking a break.
Great video!
What do you use go and zig for? I would love learning these languages but I have no idea what I would use them for, like projects dont come up in my mind
@@pixelforgPretty sure he uses both for backend. I'd also suggest trying out Rust for backend dev.
I've been learning web dev and swimming in the javascript ecosystem for around 6-7 years and now I work as a golang dev, this is becoming more and more common.
Yeah, JS ecosystem is too volatile. Not worth the hassle.
How did you make the transition?
@@0oShwavyo0 I started with carrying over things I've learnt in JS by building use-case specific projects in golang, like a project just to understand building APIs, CLIs, distributed computing using goroutines, so on so forth, and reading the official docs and the source code of standard Library, it has a lot of comments and inline documentation which is super cool to read through, there are many things that's similar both in terms of language syntax and design patterns between Js & golang, but there are some golang specific design techniques such as struct embedding and project structuring quirks, this takes some time getting used to.. watch golang talks from conferences, engulf yourself in the content the community is putting out and you'll start enjoying the learning process..
Same here. Switched half a year ago.
@@0oShwavyo0if you already skilled developer and worked with blackend , know about database's, message brokers, microservice concepts - you can learn Go like in a week and start looking for go jobs. There is a pretty high demand for go Devs and companies pretty happy to get one who just transitioned
I think we gotta respect him being so honest about what he knows and doesn't and that he realizes that some things might not be accurate and always informs the audience. Just for reference pointers and references are not the same when you want to modify a variable you pass by pointer, reference semantics is something in c++
Things I love about go:
- stdlib (it's really amazing)
- compile time
- interfaces (i really like go's approach of implementing interfaces)
- error handling (some people hate this)
- concurrency model
- and the best feature, 'defer'. I miss that feature so much whenever I use TS.
Things I don't like:
- Lack of generics in the stdlib.
- Naked return
- That uppercase export
Defer is amazing, they really knocked it out of the park with that one.
I don’t personally love the whole interface thing, because at least to my knowledge it’s not very easy to see what interfaces a particular object actually implements. Overall big fan of Go though, sad that I didn’t try it out sooner!
@@0oShwavyo0you can lookup for some extensions to find implementations of interface, in goland, it shows which struct implements a interface right above interface and vice versa
Which version of Go do you use or when did you last write a program in it,cause from go version 1.6 there have been generics and now with 1.22 they are much better
@@johnnathaniel1336 Yes, but they're still not integrated in most of the standard library.
Generics are supported
Go has been a major breath of fresh air for me. You can also see how much influence it has on things like bun and deno
It’s also hard to describe but the LSP is super good. It does a lot of really nice things for you
Cody really stands out when it comes to authenticity and transparency. The video starts with him just saying why he is learning Go. For other RUclipsrs, that would have been said somewhere at the end of the video (if not click bait) but not Cody!
Keep up the great work Cody.
I happen to also be learning Go at work and I come from a React/TS world, so it's nice to see your reflections on your learning and what you appreciate about Go coming from so much experience in JS land.
why moved to Go ?
@@babar-khan good question! while I have good experience in frontend programming, I am also pushing myself and looking for opportunities to at least be competent with backend even if it never becomes my area of expertise, that way I can be more of an asset to the companies I work for. Learning Go is moving in that direction.
17:30 defer is great, because it guarantees something gets done at the end of the function, so even if you have multiple returns you can have the one deferred function call. It's particularly useful in Go because early returns are very common with the normal error handling patterns.
it's a great feature!
I’ve been subbed for a long while but I’m excited about Go, I’ve really grown sour on node and JS on the backend.
I'm extremely happy that you're doing content on Go. It's going to be a lot more adopted in the future, and getting started early would be great for you since there aren't many content creators for it.
Go is a beautiful language that's so simple. I love that if you capitalize or lowercase the beginning of a variable/type/function/method it defines if it's public or private. Makes it so easy without having to use keywords like `public` and `private`.
Keep it up!
Not to mention no need to type export and import and make sure import routes are correct!
Thank you buddy. Your passion to learn something new encourages me to learn as well.
Golang seems so fire. So many big tech companies use it, plus it has the crazy speed of C++ and the simple syntax of Python, Ruby, Js.
Every statement here is wrong. You should check benchmarks and make your own. Golang is not that fast. Most "old" bench that make this myth were based on the fact that serialization was based on code gen, meanwhile dotnet and java catched up. Rust and C++ are the most performant. dotnet core has the best DX. Saying a platform that don't compile to machine code and rely on GC is as fast as C/C++ is non sense.
@@BonBaiserswhat about the “simple syntax of Python…” statement?
@@pepperdayjackpac4521 in term of DX and syntax, Python is good but let's be honest... Its adoption has been caused by science universities that wanted to replace C++. Typescript should have taken that spot in my opinion. Python is one of the least performant these days.
@@pepperdayjackpac4521Python and Go have abstracted syntax. Simple syntax is of languages like C and other very low level languges in my opinion. You have to rate simplicity by the levels of abstractions to agree with me though.
@@BonBaisers Go does "compile to machine code" or am I missing something?
I clearly understand you. I was a team lead in startup, was working with JavaScript frontend and nodejs 5 years and now I'm happy working as back-end Go developer in big local company and I'm loving it
i really like how straightforward and honest you are about your opinion and experience. it kinda makes me learn from your perspective
We love Go! I have had a recent epiphany along the same lines. I use JS and TS so much at work sometimes I just want a simple language where I can lean on the std lib and not have to learn the newest framework for every little aspect.
Go is a breath of fresh air. It feels like when you learn something you’ll be using that knowledge much later down the line and not have to relearn the new way to do it with every project.
I have even got some Go microservice a up and running at work and a powerful cli tool to automate a huge problem we had on a on perm server which badly needed to be concurrent so Go was perfect.
Go content is and will be much appreciated, happy coding!
I literally said this EXACT thing to my co-worker this morning, and set up my Go environment just last night. The timing is crazy
computers will have usually less than a dozen cores in their cpu, cores could have hundreds of threads, coroutines (what go calls goroutines) are a lightweight abstraction on top of traditional threads. there can be thousands without much overhead. it’s managed and garbage collected by go during runtime. hope this helps
As someone whom went from C/++ to JS/TS and is just now starting on Go, this video was really cute seeing you discover concepts Go's inherited from C :)
This content is beautiful. Absolutely loving the kube stuff since its hard to find good quality content.
Hey dude, first time landing on your channel. That moment at 0:23 when you mentioned feeling burned out on JS? Totally resonated with me. I've been in that boat, questioning if it's just me or a common vibe among devs. Been there with PHP and JS too, albeit for a hefty 8 years. Just hit subscribe while dropping this comment. Keep up the cool content!
For just starting to learn it, your assumptions are dead on. it's actually pretty wild how quickly you determined what was happening underneath intuitively.
The biggest thing that soured me on Node and JS for the server is I just got so tired of trying understand the massive skyscraping stack of abstractions between the code I write and what actually happens on the machine.
I had to switch to C# when I got a new job and while it’s a bit stuffy it’s not trying to hide a mountain of bodies to accomplish the basics.
I still love JS for handling the dom, it’s excellent at it. It’s an adequate Frontend language for the browser (it is now anyway, took 30 years to get there). HTML, CSS and JS are still to me the easiest and most flexible way to make UIs. But man am I glad to be off of Node.
GO MENTIONED!!!❤ A great language for backends and CLI tooling!
4:29 you can optimize the size of your build using build flags, and for further reduction, use UPX.
Enjoyed this video.. I am pretty early on in my Go journey & can totally relate to your comments/findings.
I completely agree with you on the JSON thing.. it feels so native in JS/TS that any other language does seem like a step backward, but as you say, not the end of the world.
Some things I do really miss from JS land, are optional chaining operator, not having to format console logging (just print it!) & template literals.
"go fmt" is the standard formatter for Go. I like to use gofumpt instead -- it's a drop-in replacement that extends what go fmt does, so go fmt won't undo its changes. It's just a little bit stricter with what it formats, like unnecessary blank lines and variable assignments, but I like it a lot. (it'll also sort your imports in a more nitpicky order that's very common.)
I just started learning GO towards end of 2023. It's so much fun, easier, faster and now I am half-way transitioning my complex JS project to Go and HTMX.
Hi i'm late,
quality Go contents are rare, Happy 😊.
I am also Learning Go, so it's nice and refreshing, thank you. You won a new follower +1
Nice content, I'm also learning Go for the same reasons, will be nice to follow your development!
Bro i also started learning it a month ago. My legend. 3 years of full stack and now starting to look into Go
I hope you continue making Go videos
Nice, currently learning swift.
You will very much enjoy Go, makes you a superstar at work too
Keep posting Go stuff. I'm trying to take JS detox as well.
Started learning go like 2 months ago. Will be so nice if I will see your go content ;)
Man feel the same way. I’m still early - mid career but spent the last 3-4 years diving deep into JS and the constant ever changing land of frameworks
Might have to pick up Go in my spare time after work.
I admire the BE because tools and/or eco system is more stable and concrete
Also, it stimulates me differently than FR, where most of the time it feels like I’m stirring a pre made pot of ingredients adding more seasoning, hot sauce, ect
Vs BE it feels more like cooking from ‘scratch’ no pre-made packaging
I'm at the same stage in Go as you ahahha, I also love it so far! Coming from C# feels like a great upgrade in every part.
I just started learning go a week ago!
I’ve just starting to learn go this week! Can’t blame you 😆
Love the Go arc!
Having 1 day of experience in Go, I can really say that this is the ultimate crash course for beginners.
I love programming and wanted to explore Go. So I decided to port a Java app that we use professionally to use Go. Although I found it pretty fun to use and easy but man it is tough to sell to Java and JS devs. Even I felt a bit crazy when I showed my colleagues the final ported app and told them that this is "better". From their point of view they were staring at gibberish with pointers and they'd like to be as far as possible from that
This is exactly what I did. Go is even cool because you can cross-compile to other platform and it just works ( assuming you don't pull some C library ). And you can embed html or SPAs into the binary. Thanks to learning Go, WASM is kind of easy. Fulltime JS does getting boring. So it's nice to take a break.
I'm lovin the fo content and I'm all for it
Very fun introduction to Go ❤
very simply put: you could see struct as a kind of immutable variable type, predefined to use in the program. You could temporarily make it mutable-ish, by using pointers (which doesn't actually change the struct variable, but a copy of it)
I'm learning Go too. When I came across type aliasing in one of the exercises I thought, this is so cool. For example: type Quantity uint Then x := Quantity(4) or func order(qty Quantity) etc.
I feel your pain. I go back and forth with this. I like parts of Go, Rust, and Kotlin. Zig also looks interesting
It can be more exciting when you mix up using functions, struct, interfaces and dependency injections altogether 😊
If you want smaller executable sizes, try setting the -s parameter to leave out the symbol lookup table. I also vaguely remember -d making the output smaller for some reason, but I can't remember why, so YMMV.
Don't forget too that Go is a garbage collected language, which means it's compiled with the GC, so on average it's going to have a larger files size than most compiled languages.
bower, grunt, gulp... ohh those where the days ! I wasn't prepared to hear these words today
did it invoke a little PTSD?
@@WebDevCody I confess, it shook me up for a bit .
Trying to deep dive in Go myself, Love your js content, looking forwad for Go videos as well!
Great content as always! I too am trying to branch out from web development by learning things that fascinate me. This was exactly how i got into web development in the first place anyways ;)
I am also Go learner.Keep us fresh with your Go content.I feel bored with JavaScript && Typescript too
As a go dev, i valid. Once you enjoy the simplicity of Go, it’s hard to switch to other stuff. Error handling became a big thing now that i’m working on a java project
after 5 years of php(laravel,codeigniter) with bunch of composer packages and really complex eco system, go feels like a fresh air. Go literally haves so many tools out of the box AHHHGh dream language.
I love Golang, I can't wait to see more video of Go
I'm reading Let's go by Alex Edwards and im loving so much go, as a frontend dev with 6 years of experience im so done with JS ecosystem and learning go has been a refreshing thing to do!
great video, think this convinced me to give it a whirl. thanks!
But I am loving it, motivated in my go journey because of your videos
I read an article the other day about the hype around golang because I was curious and it def convinced me. I’m learning swift rn and they are very similar.
what is the vscode theme you used?
Interesting, that's exactly the reason why I clicked on this video....I need a TS/JS detox :D Great video!
which framework should use Echo or fiber
Hey what theme and icon pack is that
2:10 don't worry, rust isn't that hard to learn really - you can mostly ignore lifetimes for a lot of early learning if you are willing to clone instead, and slowly learn to work with lifetimes etc over time. Rusts enums/match are amazing for a lot of things! great language, would recommend
I was dabbing into Drizzle at the same time as you did & now witnessing the same with Go haha. Great minds think alike I suppose 😉
Great video, but I think you’re *absolutely* ready for Rust! I say this having watched this whole video; you are a *solid* developer, my friend.
P.S. Nobody ever thinks they’re good enough! Just gotta get your feet wet, and before you know it you’ll be underwater :)
i’m detoxing on golang right now myself. one thing you should look at doing set up a vscode dev container. i’m finding is so nice to set up my dev ends this way so i can spin up servers quickly for dev and know the arch matches deploy location.
if you want a template to start i got a nice setup with docker compose launching a postgres and redis server and golang in the dev container.
how do you do autocompletes in go thats my only gripe with it
I am currently learning Go and also my major project is based on Go
I'm in for the next and convex content but its great to see other content from your perspective
Im in a similar position but with python. Feels like a breath of fresh air without having to deal with bundlers when writing backend python.
Ok that's does it, I am learning GO now so i can decide if its really good or not.
I started my dev journey with Go. Couldn't get an interview anywhere. much less jobs and they are all senior positions.
Yup I also like its simplicity. You can do pretty much everything with its standard library. The only thing I truly dislike are the magic strings and definitely with parsing json in structures.
🔥🔥
Really cool video, thank you
for what its worth, I actually subscribed to you because of all the non-web related content
wait, but what non-web content do I make? everything I make it related to web development 😅. are you talking about non front end stuff?
@@WebDevCody ah sorry, yeh I meant non frontend stuff 😄
Did the Primegon influence your decision? Lol I'm going on 4yrs Js/Ts experience and I decided to try rust.
I love React, although I suck at it. But I also love how you went full Go content. Probably do some Go problems for developers who have interview with this language programming. :)
I'm also from React, Next JS stack..and also started to learn Go :D
Do you have a Go beginner course?. Or can you recommend one
I don't and I don't know of any, sorry
Hey idk if you see this but can you pls share your vscode theme?
??? Why are you liking but not replying
Great video but HELP! lol Im in the process of deciding on which language/s to learn for Web development of my own projects.
Im drawn to GO for reasons as you say, but not sure if HTMX cuts it for front end. I struggled to find any professional looking web apps. Which means leaning JavaScript/ TypeScript anyway. Or is it just easier to stick with the JavaScript/ Node JS for front and backend?
Im not worried about which gets me a job its solely to build out my own Web3 projects.
If you just want to build webapps, then both Go + HTMX or Node + React would do the trick, both are pretty simple too, but Go + HTMX have a much better performance for slightly bigger apps while Node + React have more libraries available.
I personally use next for all my side projects, but people say htmx and go is nice 🤷
The reason you're surprised about the size of the compiled binary, is because you're forgetting that its also compiling your code with the garbage collector. If you were compiling your code in C or C++ it would be a lot smaller, which is what you were expecting, but what makes Go nice, is you don't have to think about memory management as much, because of the GC; the tradeoff is a larger executable.
Good info!
How do you make your thumbnails bro? Can I slightly copy a similar style thumbnail for my videos?
Your thumbnails are some of the best I’ve seen in coding RUclips imo.
oh wow, thanks for the kind words. I just use gimp. Each thumbnail I try to have the these key ingredients.
- picture of me (get good lighting and take the picture in portrait mode on iphone, remove the background on mac)
- a subject image (the gopher)
- a short headline ("I'm a go simp")
- sometimes I'll add an arrow if it helps guide the eye to where I want the viewer to look
- throw a gradient background and add some faint code overlay in the background
- throw in a couple of radial gradients behind myself
- sometimes add a drop shadow to the subject (gopher has a purple drop shadow with a lot of extra bluring)
Perfect man. Thank you so much I appreciate that. I never heard of gimp but I’m def checking it out lol.
And I was gonna ask , one last question lol. Do you also record on your iPhone? I’ve been thinking about just recording on an iPhone since it’s so easy to setup.
I’m learning Go myself. I love it. I still love JS myself too though.
You can union types by embedding one into another and it's awesome
I like this kind of content even though react and js development in general is ny main thing. I have been torn between java, rust and go. I like the way go does some things. Its a nice change. Since go has rep for being fast and has support for backend APIs, i see it as logical next step. And there is nothing wrong with the kind of content youre producing. I see you doing a lot of different things and i mentally note them down as things to explore and learn, but im kinda doing same thing always i.e. js
That’s awesome! I got into Go also
Have you tried the modern ruby on rails?
nope
Please make basic api tutorial for go including rest/graphql
I've been messing around with Go recently coming from mostly Java/Python and it's quickly becoming my favorite language. Not one-size-fits-all by any means but it's pretty close for my usage to be honest.
why not writing API in C++ instead of Go ?
The only reason why i don't go all-in on Golang, is because i don't really like writing infrastructure, low level, network and crypto stuff. And those are primary fields where go is used.
I love golangs Json handeling your example misses one thing and that is the struct for the json Request. Golangs Json and Marshal workflow is like using zod on every incomming Request or Response
my request structure is not known since it's a generic key value store. a user can store any type of JSON they want.
Whats your vscode theme?
Bearded theme stained blue
Great video coming from C++