Тёмный
No video :(

Interfaces in Go - Discovering Behavior 

Matthew Sanabria
Подписаться 1,1 тыс.
Просмотров 676
50% 1

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@sudomateo
@sudomateo Месяц назад
Please excuse the nasally voice. I recorded this just as I was getting sick so I was a bit stuffy.
@Cspartan_1291
@Cspartan_1291 Месяц назад
MOM! Wake up! Matthew uploaded a new video!
@sudomateo
@sudomateo Месяц назад
This is the way!
@selvamp5775
@selvamp5775 Месяц назад
👏👏👏
@0lange
@0lange Месяц назад
Loving the go content, so clear and easy to grasp. I would pay for your courses 😆
@sudomateo
@sudomateo Месяц назад
Thank you for the kind words! I'm not against creating course content, I would just need to dedicate time to creating the content and make sure it's financially accessible to everyone. I have some strong opinions on some of the course content out there that takes advantage of aspiring engineers.
@0lange
@0lange Месяц назад
Fair enough :I) Also a future video suggestion: concurrency stuff (channel and mutex)
@sudomateo
@sudomateo Месяц назад
@@0lange I got you! Concurrency stuff is next on the list. I ranked some suggestions based on frequency and concurrency was top 3. I'll be recording that when I'm back from GopherCon.
@indifferentghozt
@indifferentghozt Месяц назад
Don't forget to hit that bell!
@sudomateo
@sudomateo Месяц назад
Like. Subscribe. Hit the bell. Grow the beard. All the good things!
@aniellosgambato
@aniellosgambato Месяц назад
I like this content. Just one thing I know this is a jus a simple example but you are not testing the SendNotification function at all here. I see that you want show how you can take benefit of interfaces to create mocks that can help during unit tests, but this is a little bit misleading on how write a good unit test. By the way I appreciate your efforts and I am waiting for other content related to Golang. B.R.
@sudomateo
@sudomateo Месяц назад
Thank you! More content will be coming soon. I wasn't going to include any testing in this video at first but the I was like ah heck why not? I really wanted to show how one can implement interfaces to be used in tests rather than writing a perfect unit test. I probably should have asserted on the message to test the behavior specific to SendNotification. In the current form it's really just testing that the notifier(s) get called.
Далее
Linux CLI Crash Course
1:02:59
Просмотров 1,1 тыс.
This Will Make Everyone Understand Golang Interfaces
21:03
OAuth2 Crash Course with Go
22:21
Просмотров 1,4 тыс.
Why You Shouldn't Nest Your Code
8:30
Просмотров 2,7 млн
How I use C++: a line-by-line code review
1:40:40
Просмотров 259 тыс.
Practical Explanation of Golang INTERFACES
8:27
Просмотров 6 тыс.
Go Error Handling Best Practices & Advanced Tips
6:49
The Rust Standard Library is SO Confusing...Until Now!
11:45