Here is a hands-on example of what generics are and how to implement them in Golang. I made a few mistakes but it happens! Let me know if you find this a useful primer on generics in Golang.
Пікірлер: 20
@karanparwani2829 Жыл бұрын
You made Generic like a piece of Cake, We need more Teacher / Mentors like you, Hats Off man 🙂
@jhonsen9842Ай бұрын
Excellent short crisp and valuable content.
@benitoe.4878Ай бұрын
Wow, someone actually managed to explain Generics and Generic Functions in a way that makes them simple to use. One thing to be added: How to make user defined types valid constraints by simply prefixing their underlying primitive type with ~, so that e.g. 'type MyInt int' becomes a valid contraint via ~int.
@nagasrinivasvinodkumarpand9309 Жыл бұрын
Just the right level of crispness in tutorial videos that I always looked for.. Thank you so-much boss.. !
@yates_2 жыл бұрын
Thanks for the great video as always! Maybe something to consider is losing the negative space by way of the background. It would significantly increase the editor's space and make the code more readable.
@CloudNativeSkunkworks2 жыл бұрын
Thank you, I agree. I am going to look at the formatting and try to improve it
@tobiasnickel3750 Жыл бұрын
are generics here only for the basic datatypes? or can it also be used for other structs? the usecases seem to be very limited, and we still need to build code that looks so weired like the json.Unmarshal api where we create the object outside and pass a pointer into the function.
@dariuspirvulescu9263 Жыл бұрын
This definitely helped. Thanks!
@strandingstranger Жыл бұрын
Wow! Look at that! Jesse Pinkman does Golang programming tutorials! Seriously though, thanks for the video, it's pretty quick and helpful
@CloudNativeSkunkworks Жыл бұрын
haha, glad you like it, thanks for the comment
@kraibs7041 Жыл бұрын
Very useful, thank you
@CloudNativeSkunkworks Жыл бұрын
You are welcome!
@mediocrecoder61849 ай бұрын
well explained, thanks
@dirien2 жыл бұрын
Good intro Alex! Would love to see some code of some OSS projects using Generics and then you talk through? What you think Alex?
@CloudNativeSkunkworks2 жыл бұрын
We could discuss how we're going to introduce generics into Open Feature! 😁
@VrashabhSontakke2 жыл бұрын
Hi, Hope you are doing well ! I have a not so small question : I am very interested in Cloud-Native tech and DevOps. As of now I am very good at Linux, Docker & started learning Kubernetes. I learnt Python for automation, learnt GO, made projects and still building more GO projects. I Looked for remote Jobs/Internships for months, and did not find any good ones. (Q 1) What do I need to do more to get those remote Jobs/Internships specially in cloud-native companies. (Q 2) looked for good-first-issues with Golang to contribute to but, can't figure out nothing. Even with projects that I use and familiar with. I didn't find the answer anywhere, Please Help !
@mohsenataei1677 Жыл бұрын
I need to know what is you keyboard model ? Typing sound is soo satisfying.