Go is like a combination of C and Python, my two favorite languages!
@ahmethatipoglu83062 күн бұрын
Nice video. I have a one nit here though to raise in 100 go mistakes there is a section about embedding saying the following: > What can we say about type embedding? First, let’s note that it’s rarely a necessity, > and it means that whatever the use case, we can probably solve it as well without type embedding. > Type embedding is mainly used for convenience: in most cases, to promote behaviors. and then it also says > Using type embedding consciously by keeping these constraints in mind can help avoid > boilerplate code with additional forwarding methods. However, let’s make sure we don’t do it > solely for cosmetics and not promote elements that should remain hidden given the above, what would you do differently? (I still haven't decided which is better yet tbh) Another question I have is I see you using `database.GetGuestFeatures()` which makes me believe you have a function `GetGuestFeatures()` under a `database` package. My question is how would you unit test HasFeature function here?
@mr_mux4082 күн бұрын
The book gives an example where embeddings work well, ie where you want to avoid method forwarding, which is the case for us here. As for testing, you can mock out the database, see: github.com/stretchr/testify
@norayrsargsyan24022 күн бұрын
Thank you so much for the content! What app do you use for code animations?
@mr_mux4082 күн бұрын
I edit in Final Cut Pro and got a script I wrote for Neovim to type out the code.
@sidreddy70303 күн бұрын
This is so elegant. Can’t wait to see more go content in this channel
@mr_mux4082 күн бұрын
Thank you!
@BhargavaMan3 күн бұрын
Remember everyone - p is stored in the balls, but *p just points to the balls
@user-fh1mx6pz3r3 күн бұрын
why did you not go through input
@sadhakbj3 күн бұрын
More premium go contents please.
@yuxiang42183 күн бұрын
great example! Thanks for sharing
@issamsabir52513 күн бұрын
What's the link of the corresponding gihub please? Thx to this high quality work
@pratikshinde66407 күн бұрын
at 44:03 s i think it will take away the concurrency because the thread will wait 2 seconds after locking the read/write access resulting in delay of 2 sec every time a new thread tries to access it so it will add up and in the end it will loose its concurrency , correct me if i am wrong
@NovaAquarius8 күн бұрын
Excellent video. Exactly what is needed for programmers who are already familiar with some other programming languages. If you ever decide to learn Rust Language, please do consider making one such video - Rust in 1hour. There is no such content for Rust. Also for other programming concepts too for intermediate level programmers
@maziluiosif10 күн бұрын
Fantastic! Thank you!
@user-vf6jv5sc5x10 күн бұрын
Great tutorial Sir. Straight Forward and packed with great information. Thanks!
@nandhakumar.r269012 күн бұрын
KZread algorithm is cruel to you man😔
@nandhakumar.r269012 күн бұрын
Whats that IDE look cool
@ryanlog12 күн бұрын
Please do RUST in 1 hour too
@oyeSAURABH14 күн бұрын
can we get notes of this video
@skybuck200014 күн бұрын
Great now you csan write shitty console programs, how to create a cool gui app ! HAHA, Thx anyway ! ;)
@rockyli752615 күн бұрын
Me after watching this video: Neo: I know Kung Fu.
@VaibhavShewale16 күн бұрын
first i thought "What is GO FAST?" XD
@darkkuja2216 күн бұрын
Commenting so that this keeps getting recommended and you continue to do videos. This is great stuff! To the point and very useful.
@jhoanmiguelescobararboleda854717 күн бұрын
Thank you, The only thing i can pay you back its with a subscribed, lot of love man <3
@usamairfan957317 күн бұрын
To the point, no clutter and fast. Just the stuff I needed. Thanks
@blu12gaming4418 күн бұрын
Thanks!
@mr_mux40818 күн бұрын
Thank YOU!
@bubamaraBumbar19 күн бұрын
43:00 I'm unable to replicate same error, I wrote exactly the same code but still no error. Conclusion I'm no need to use lock/unlock :D
@ArhamRanjha19 күн бұрын
This channel deserves way more subs !!
@fe911s22 күн бұрын
Man when u moved those "ints" thought i was having a seizure 😂
@thesr881125 күн бұрын
Python is the most easiest language for me so far,I have worked with C,C++,java, frontend,C#, Assembly,Lua but nothing beats good old python And I was watching your go tutorial but it's too much to take at once so I came to watch some python 😂 even tho I already know mostly all of the stuff, Nice tutorial btw, Appreciate it
@mr_mux40825 күн бұрын
Thanks so much! Yea Python rocks.
@F2H1626 күн бұрын
Thanks a lot for this gem. Do you have any plans to create new content on Go? You have a gifted ability to teach something.
@kotzblitz771629 күн бұрын
No music, no clutter, not too easy and also not for seniors who learn machine code for fun. It’s just perfect, thanks.
@amirsalehi459229 күн бұрын
The best video of go tutorial I've ever seen!!!!
@kiratis29 күн бұрын
Great video explanation. You content helped me transfer my knowledge from other languages to GO. You da man!
@AdamSrgntАй бұрын
All killer, no filler. Awesome video.
@pyrhockzАй бұрын
great stuff
@lorenzomijorusАй бұрын
this is awesome!
@TheRonron1994Ай бұрын
Why does when I run fmt.Println(len("test")), I'm actually getting 4?
@miguelarquejadanfsАй бұрын
Thanks so much! 🇧🇷
@Amaz3rsАй бұрын
Can you make django tutorial since its more popular?
@user-yv3jo1lh6uАй бұрын
Before this video I think to use vim instead nano in the server Now I know that I will stay with nano :)
@VidyaBhushan452Ай бұрын
Tons of thanks for this awesome tutorial, great work! Subscribed.
@AnuragMishra-ws4zcАй бұрын
please bring more content for GO
@atNguyen-jg5cpАй бұрын
Awsome video for someone already know programming, i also watch your go video. Thanks
@mr_mux408Ай бұрын
I appreciate that!
@warrdadlani2809Ай бұрын
I love this tutorial. Thank you.
@ziad_yahyaАй бұрын
awesome 👍
@naeemulhoque1777Ай бұрын
Thank you so much 😊
@mr_mux408Ай бұрын
No worries!
@Little-bird-told-meАй бұрын
I look forward to your every video. Thanks
@mr_mux408Ай бұрын
Thank you, glad you like 'em!
@hgedekАй бұрын
how to create immutable pointer in go ?
@sahildhingraaАй бұрын
Great video, thanks!
@ashuzonАй бұрын
I really enjoyed the video. Thank you for sharing!
Пікірлер
Go is like a combination of C and Python, my two favorite languages!
Nice video. I have a one nit here though to raise in 100 go mistakes there is a section about embedding saying the following: > What can we say about type embedding? First, let’s note that it’s rarely a necessity, > and it means that whatever the use case, we can probably solve it as well without type embedding. > Type embedding is mainly used for convenience: in most cases, to promote behaviors. and then it also says > Using type embedding consciously by keeping these constraints in mind can help avoid > boilerplate code with additional forwarding methods. However, let’s make sure we don’t do it > solely for cosmetics and not promote elements that should remain hidden given the above, what would you do differently? (I still haven't decided which is better yet tbh) Another question I have is I see you using `database.GetGuestFeatures()` which makes me believe you have a function `GetGuestFeatures()` under a `database` package. My question is how would you unit test HasFeature function here?
The book gives an example where embeddings work well, ie where you want to avoid method forwarding, which is the case for us here. As for testing, you can mock out the database, see: github.com/stretchr/testify
Thank you so much for the content! What app do you use for code animations?
I edit in Final Cut Pro and got a script I wrote for Neovim to type out the code.
This is so elegant. Can’t wait to see more go content in this channel
Thank you!
Remember everyone - p is stored in the balls, but *p just points to the balls
why did you not go through input
More premium go contents please.
great example! Thanks for sharing
What's the link of the corresponding gihub please? Thx to this high quality work
at 44:03 s i think it will take away the concurrency because the thread will wait 2 seconds after locking the read/write access resulting in delay of 2 sec every time a new thread tries to access it so it will add up and in the end it will loose its concurrency , correct me if i am wrong
Excellent video. Exactly what is needed for programmers who are already familiar with some other programming languages. If you ever decide to learn Rust Language, please do consider making one such video - Rust in 1hour. There is no such content for Rust. Also for other programming concepts too for intermediate level programmers
Fantastic! Thank you!
Great tutorial Sir. Straight Forward and packed with great information. Thanks!
KZread algorithm is cruel to you man😔
Whats that IDE look cool
Please do RUST in 1 hour too
can we get notes of this video
Great now you csan write shitty console programs, how to create a cool gui app ! HAHA, Thx anyway ! ;)
Me after watching this video: Neo: I know Kung Fu.
first i thought "What is GO FAST?" XD
Commenting so that this keeps getting recommended and you continue to do videos. This is great stuff! To the point and very useful.
Thank you, The only thing i can pay you back its with a subscribed, lot of love man <3
To the point, no clutter and fast. Just the stuff I needed. Thanks
Thanks!
Thank YOU!
43:00 I'm unable to replicate same error, I wrote exactly the same code but still no error. Conclusion I'm no need to use lock/unlock :D
This channel deserves way more subs !!
Man when u moved those "ints" thought i was having a seizure 😂
Python is the most easiest language for me so far,I have worked with C,C++,java, frontend,C#, Assembly,Lua but nothing beats good old python And I was watching your go tutorial but it's too much to take at once so I came to watch some python 😂 even tho I already know mostly all of the stuff, Nice tutorial btw, Appreciate it
Thanks so much! Yea Python rocks.
Thanks a lot for this gem. Do you have any plans to create new content on Go? You have a gifted ability to teach something.
No music, no clutter, not too easy and also not for seniors who learn machine code for fun. It’s just perfect, thanks.
The best video of go tutorial I've ever seen!!!!
Great video explanation. You content helped me transfer my knowledge from other languages to GO. You da man!
All killer, no filler. Awesome video.
great stuff
this is awesome!
Why does when I run fmt.Println(len("test")), I'm actually getting 4?
Thanks so much! 🇧🇷
Can you make django tutorial since its more popular?
Before this video I think to use vim instead nano in the server Now I know that I will stay with nano :)
Tons of thanks for this awesome tutorial, great work! Subscribed.
please bring more content for GO
Awsome video for someone already know programming, i also watch your go video. Thanks
I appreciate that!
I love this tutorial. Thank you.
awesome 👍
Thank you so much 😊
No worries!
I look forward to your every video. Thanks
Thank you, glad you like 'em!
how to create immutable pointer in go ?
Great video, thanks!
I really enjoyed the video. Thank you for sharing!
also can you make videos on rust?