Gorgeous, just gorgeous! So clear. The best course to my mind. Thank you once more!
@karanssh
3 жыл бұрын
Awesome video. Will watch your entire series (eventually) Loved these: 19:58 : It sleeps for a second, which is like a million years in computer time 20:27 : Why did I do this - (I ask myself this a lot too :P)
@NitishAgrahari-u1j
4 ай бұрын
Sir hats off to you this amazing content, 1 second =million years in computer time, that was funny 😆
@samikstream
Жыл бұрын
Awesome explanation on channels..helps to create a better mental model
@punto-y-coma7890
9 ай бұрын
The best channels explanation I'v found on YT. Clearly the author understands really deep what's going on and your method of explanation simplify the hard thing and make it really simple to understand. Thank you very much :)
@snuggie12
Жыл бұрын
I have to agree with others. The way you explain things just resonates with me. I actually jumped around at first looking for the stuff on my pet/learning project, but now started them sequentially. I guess I'm like 11 other people that I randomly chose this video to finally comment. haha I'm hoping towards the end some "best practices" will be covered when it comes to starting a server. I think I see it ahead.
@emzx111
8 ай бұрын
Thank you Matt this is awesome content 🙏. The analogies are very thoughtful and makes the learning stick. Slide 6 is particularly handy and original.
@LifeInGuSu
Ай бұрын
This is really good after I have hit the pit full s and fixed it using ai without really understanding it, this video fix it
@MarcelTndl
Жыл бұрын
Absolutley amazing Matt . Saludos from Argentina
@sayedhasan4102
8 ай бұрын
Amazing, I really love the way to teach ❤
@Gigasharik5
11 ай бұрын
this is pure gold
@yuxiang4218
6 ай бұрын
best go course
@alitorabi9951
Жыл бұрын
Perfect ! Thank you
@larrasket
Жыл бұрын
Why the hell there is no people like this in my school
@tashirojima
2 жыл бұрын
does it really matter whether the sender or receiver returns first? let's say receiver returns first but they could be paused immediately
@leonowt
Жыл бұрын
Race conditions may not occur in some circumstances (like what you said "could be paused immediately"), but they are actual bugs. You would like to make sure the odds of race conditions is zero.
I have questions please help me to understand ch := make(Chan int) ch
@ovidiuc4
2 жыл бұрын
At this line _ch
@zakariachahboun
2 жыл бұрын
your expression will be ok if you set a capacity ch := make(chan int, 1) but if you set a zero capacity you have to write to the chan from another go routine: ch := make(chan int) go func(){ ch
@ramgopal2520
Жыл бұрын
As explained by Matt about the rendezvous behaviour of Channel, a sender can safely return(ie. proceed to the next line in the code) only when it knows that the receiver has received the value. In your case, the receiver is in the next line of the code.. Since there is no way for the receiver to notify the sender that it has received the value, your send is blocked infinitely creating a deadlock.
@alitorabi9951
Жыл бұрын
in this way you must have channel receiver in background to send data to channel otherwise your app will be blocked
@tashirojima
2 жыл бұрын
reading or writing a channel that is nil always blocks, so a nil channel in a select block is ignored. imo it's better to use `so` instead of `but` as the conjunction here.
Пікірлер: 23