Golang Tutorial #22 - Interfaces

preview_player
Показать описание
In this golang programming tutorial I will be convering go interfaces. Interfaces in golang are a way to group structs that have related behaviour. Structs can implement an interface and you can use the interface name to access related methods or behaviour of all structs that implement that interface.

◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python

◾◾◾◾◾◾

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
- Tech With Tim
- Golang Tutorial
- Go Programming Tutorial
- Golang Interfaces
- Interfaces Golang
- Go Interfaces

⭐ Hashtags ⭐
#GO #Golang
Рекомендации по теме
Комментарии
Автор

Been programming for 30 years and you have a special gift. You are not only smart, but are able to articulate your thoughts. In my experience, engineers struggle with one or the other. Most don't share the gift of both at your level. Keep shining your light Tim. We hear you.

michaelroof
Автор

I'm almost 50 yrs old and I'm impressed how listening to you makes things so easy - I've never had so much fun with any programming language before. Thank you very much! Keep the good work! Cheers! Bye!

PaxHominibusBonaeVoluntatis
Автор

It's amazing the way you back-linked concepts to your previous videos on structs & struct methods which are great. A really smart way of execution!

rewanthtammana
Автор

That was the simplest explanation of interfaces I have seen so far. Kudos for showing examples of usage.

RizwanIshakthesinister
Автор

tim i am waiting to see you post things about projects with golang because you are the best man, your tutorials are incredibles

NoBrainCode
Автор

I've looked in many other places to try to understand interfaces. They are always like, this is how you make one, this is how you use one, okay next lesson. This is the first place that actually explained it. Thanks, I'm going to pick up from here following your tutorials instead.

xcvsdxvsx
Автор

@TechWithTim I must say that "You're one of the best teachers, makes me understand everything with less effort"

swaminathbera
Автор

I come from JS and wow I finally understand interfaces! I will enjoy the rest of my day.

ivan.angulo
Автор

Probably the best explanation of Interfaces on internet, exactly what I was looking for. Kudos Tim and thanks a ton :)

aashaydhawal
Автор

Man you not only look so handsome but also make good explanations on this go interface.

hangchen
Автор

Hey Tim I was wondering if you could do a video on projects you can do with golang

therealosose
Автор

When next video? Goroutines, channels and some other things are still left

SakayaNagii
Автор

Tim, thanks for such a great explanation of Go Interfaces! I searched through several videos & articles, and your style of explaining it finally make it clear!!

MrAverageViewer
Автор

Great example, this tutorial the best one I found about interface on internet. thanks.

jasonshi
Автор

FYI: it helps during the pointer vs. non-pointer examples to run this in main to kinda show the difference: fmt.Printf("fooShapes: %v\n", fooShapes)

nathanbenton
Автор

Great tutorial series on Golang. I saw many of your videos while reading the Tour of Go, and few things became clearer on watching these videos. Next is to go for Effective Go. Only thing which I missed in your series is the coverage of Concurrency. Perhaps, if you come back to visit this topic some day in future.

BanibrataDutta
Автор

Excellent Golang tutorial for beginners. Thanks Tim.

viswanath
Автор

Great series bro. I used it to remember the syntax but now I realized I want to give Rust a try. lol You are a great teacher/presenter, keep it going!

joelmontesdeoca
Автор

Your tutorials are wonderful, however I want to point to an issue I see with many tutorials and teaching programs, the naming of variables are too general sometimes so it makes it difficult understanding the connections between parts. For example there is an interface named shape and then we name shape as the variable a function receives and then we create a shapes slice and then we do "for _, shape := " so this makes it difficult to understand which ones are connected and not. When studying I tent to create random local names for variables such as "for _, shapeasdf :=" and this helps me focus more.

christy
Автор

You have a great teaching style... getting to the point while giving examples 👍

raffiquemuir
join shbcf.ru