Yes, that's true. I try to stay away from string enums for this very reason. According to the assignability spec here: go.dev/ref/spec#Assignability. I think Go could do a lot better with their enums. They feel like an after thought. For example, this code is valid even though `yell` is not a defined color. package main import "fmt" type color string const ( Yellow color = "yellow" Red color = "red" Blue color = "blue" ) func main() { fmt.Println("hello") printColor(Blue) printColor("yell") } func printColor(c color) { fmt.Println(c) }
@@CoderNick True. I am coming from php/csharp, trying to explore other languages. Go seems great because of the performance and simple mulitthreading system.
I highly recommend it. I came from c++ and Python background and switched to Go about 10 years ago. It’s much easier than c++ especially for big sw teams and much faster than python. No language is perfect and that goes for Go as well. Little quirks like this and generics are really confusing right now. Lots of jobs are out there in Go.
Hi Nick started following your RU-vid tutorial for learning go, i am also a backend dev with more than 5 years of experience, Great stuff there buddy !!!! Just one suggestion, if you can, it would be really super helpful to increase the volume of your voice in the tutorials, maybe a better microphone or maybe if anyway possible increase the volume of your voice Again nice stuff !!!
I really appreciate the feedback! Thank you. Yes, the older videos I didn't have a good microphone, was just the web cam. I now have a better microphone and camera. If you let me know what content you are interested in hearing more about, I can make a new video and focus on that area. Thanks again!
Hey Nick , i have started learning golang but i will need you to post more about the go programming language , more blockchain with golang and simply most concepts
Thanks for watching! Did you see all the videos in the playlist? Also, Blockchain is a pretty advanced concept. It really depends on the chain and what are you trying to accomplish.
@@CoderNick Yes I did , I have 2 years programming experience with JS/TS ( backend )and I’m looking forward to add blockchain to my stack. It's a dynamic field with the potential for continued growth ,but in all I want to be a better engineer I will say I’m a developer for now Thanks for the feedback : )