No video

Golang generics in 6 minutes

  Рет қаралды 13,107

Cloud Native Skunkworks

Cloud Native Skunkworks

Күн бұрын

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
@karanparwani2829 Жыл бұрын
You made Generic like a piece of Cake, We need more Teacher / Mentors like you, Hats Off man 🙂
@jhonsen9842
@jhonsen9842 Ай бұрын
Excellent short crisp and valuable content.
@benitoe.4878
@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
@nagasrinivasvinodkumarpand9309 Жыл бұрын
Just the right level of crispness in tutorial videos that I always looked for.. Thank you so-much boss.. !
@yates_
@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.
@CloudNativeSkunkworks
@CloudNativeSkunkworks 2 жыл бұрын
Thank you, I agree. I am going to look at the formatting and try to improve it
@tobiasnickel3750
@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
@dariuspirvulescu9263 Жыл бұрын
This definitely helped. Thanks!
@strandingstranger
@strandingstranger Жыл бұрын
Wow! Look at that! Jesse Pinkman does Golang programming tutorials! Seriously though, thanks for the video, it's pretty quick and helpful
@CloudNativeSkunkworks
@CloudNativeSkunkworks Жыл бұрын
haha, glad you like it, thanks for the comment
@kraibs7041
@kraibs7041 Жыл бұрын
Very useful, thank you
@CloudNativeSkunkworks
@CloudNativeSkunkworks Жыл бұрын
You are welcome!
@mediocrecoder6184
@mediocrecoder6184 9 ай бұрын
well explained, thanks
@dirien
@dirien 2 жыл бұрын
Good intro Alex! Would love to see some code of some OSS projects using Generics and then you talk through? What you think Alex?
@CloudNativeSkunkworks
@CloudNativeSkunkworks 2 жыл бұрын
We could discuss how we're going to introduce generics into Open Feature! 😁
@VrashabhSontakke
@VrashabhSontakke 2 жыл бұрын
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
@mohsenataei1677 Жыл бұрын
I need to know what is you keyboard model ? Typing sound is soo satisfying.
@CloudNativeSkunkworks
@CloudNativeSkunkworks Жыл бұрын
Happy hacking keyboard 2
@pavelerokhin1512
@pavelerokhin1512 Жыл бұрын
great!
@matthias2447
@matthias2447 Жыл бұрын
Thanks. What is the name of the color scheme?
What is Open Feature?
17:53
Cloud Native Skunkworks
Рет қаралды 1,2 М.
Advanced Golang: Generics Explained
13:37
Code With Ryan
Рет қаралды 61 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 52 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,5 МЛН
Master Golang with Composition
27:31
Kantan Coding
Рет қаралды 4,2 М.
Golang: The Last Interface Explanation You'll Ever Need
17:58
Flo Woelki
Рет қаралды 9 М.
A Practical Example How To Use Interfaces In Golang
14:42
Anthony GG
Рет қаралды 23 М.
Learn Go Generics - everything you need to know
27:45
Leetware
Рет қаралды 9 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 53 М.
Understanding Contexts in Go in 5(-ish?) Minutes
15:14
TutorialEdge
Рет қаралды 61 М.
Everything you need to know about Kubebuilder: Write operators like a pro
32:02
Cloud Native Skunkworks
Рет қаралды 14 М.
Master Golang with Interfaces
21:54
Kantan Coding
Рет қаралды 11 М.
How To Use The Context Package In Golang?
17:03
Anthony GG
Рет қаралды 59 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 52 МЛН