Advanced Golang: Generics Explained

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии • 105

  • @David-xy4nw
    @David-xy4nw 2 года назад +48

    The way you explain things are too good brother ! Hopefully you are going to make a series on advanced golang, I am sure it would be the best stuff out there 🚀💪

  • @yasindce1998
    @yasindce1998 8 месяцев назад +4

    Explanation is Top Notch. I clearly understood everything.

  • @ChristinaCephus
    @ChristinaCephus 11 месяцев назад +1

    Amazing intro to Generics and that Map Comparable explanation was really T -- spot on

  • @AdamHoelscher
    @AdamHoelscher Месяц назад

    First video of yours I've seen: really good job of balancing between "Here's the IEEE standard" and "A programming language is a way to give a computer instructions". Gotta check out more of your stuff.

  • @144camj
    @144camj 7 дней назад

    This was the perfect follow up to the Holiday Go course.

  • @ColoDelCartucho
    @ColoDelCartucho 2 месяца назад

    Coming from languages where generics are not a thing, that was a head scratcher. But you explained it very well, thank you !

  • @spruslaks26
    @spruslaks26 11 месяцев назад +1

    The best introduction to generics-huge thanks!

  • @SeleckPlays
    @SeleckPlays Год назад +2

    One of the better tutorial on Generics I have watched. Concise, to the point, and thorough. Thank you!

  • @tam_sal80
    @tam_sal80 2 месяца назад

    I'm a newbie to Go and that is such an amazing way to decipher the cumbersome Go syntax for an average java, python, js guy 😂
    Hats off 👏 🙌

  • @tiagodev5838
    @tiagodev5838 5 месяцев назад

    Thank you for this intro, I really like how you deliver your knowledge, I resonated with it buddy! Great tutorial!

  • @nomadtrails
    @nomadtrails 5 месяцев назад

    Hats off, very well explained. Can't wait to dig through more of your videos.

  • @esra_erimez
    @esra_erimez 2 года назад +47

    While I'm not a fan of generics, I am a fan of this channel. Great video, well done!

    • @ragnadrok7
      @ragnadrok7 Год назад +6

      Damn i was actually waiting for generics at one point. Which solved Lots of problems for me

    • @thingsiplay
      @thingsiplay Год назад

      Good to see you here as well.

  • @bartzz666
    @bartzz666 4 месяца назад

    Great job man, such a clear explanation. Love your chill voice btw, keep it up!

  • @njengathegeek
    @njengathegeek 2 года назад +5

    You have explained it so nice, now we want 12hr full course, too good to be a 10 min tutorial 😂😂😂

  • @BorisIsASpider
    @BorisIsASpider 2 года назад +4

    Nice! keep these videos coming Ryan

  • @Programscape
    @Programscape 2 года назад

    Hi from Russia and thank u so much for such a simple and understandable explanation))

  • @codelinx
    @codelinx Год назад +1

    This is so clean and we'll explained. Thank you

  • @blackswan2020
    @blackswan2020 10 месяцев назад

    my new favorite golang channel -- ty Ryan

  • @tobiadeniji6630
    @tobiadeniji6630 Год назад

    First time watching your video. Amazing content, keep up the good work.

  • @esra_erimez
    @esra_erimez 2 года назад +10

    You have an awesome voice. So ASMR!

    • @hp67c
      @hp67c 7 месяцев назад

      And plus it reminds me of Agent Smith, which shouldn't be a good thing, but it is. And yes, very clear explanations, excellent examples. I immediately subscribed.

  • @kutmanamangeldiev4967
    @kutmanamangeldiev4967 Год назад +1

    you made it as a piece of cake )) cool , good explanation

  • @danielmdev
    @danielmdev 4 месяца назад

    great video, clear and straight to the point

  • @codewithtee
    @codewithtee Год назад

    This is really a very great video and I am so happy I found your channel... I would developed a package I am working on much better if I had seen this video first.. Thank you very much Ryan

  • @Tridib_Tinkel
    @Tridib_Tinkel Год назад

    Love the way you teach, very calm

  • @pmoieni
    @pmoieni 2 года назад

    This was awesome. I wish you had more subscribers, you really deserve it. Keep up the good work... 👏

  • @shgh6242
    @shgh6242 Год назад

    👍 Nice 👍 job 👍 very helpful, short kept and to the point.

  • @yogendra591
    @yogendra591 4 месяца назад

    Very nice explanation, thanks, subscribed!

  • @sladki_pas
    @sladki_pas 2 года назад +3

    Awesome video and author!

  • @happy..1907
    @happy..1907 4 месяца назад

    Very good explanation. Thanks 👍

  • @sirajul-anik
    @sirajul-anik Год назад

    you should make more videos man. appreciated.

  • @learntocode1708
    @learntocode1708 Год назад

    Love the way you explain generics

  • @maniac5411
    @maniac5411 6 месяцев назад

    Awesome stuff Ryan. I love your golang explanations. Are you planning/willing to make one that talks more about just interfaces, specially "empty interfaces"?

  • @andyyarys4467
    @andyyarys4467 7 месяцев назад

    Thank You! All very clarify and helpful.

  • @cavila0217
    @cavila0217 2 года назад

    Hi Bud, it was definitely a tip-top explanation, thanks a bunch!

  • @princeofexane
    @princeofexane Год назад

    Best Go tutorial on RUclips.

  • @randall.chamberlain
    @randall.chamberlain Год назад

    I'll be damned, just what I was looking for. Word by word. Thanks mate.

  • @sarevoker
    @sarevoker Год назад

    Nice intro to the topic buddy! I'm coming from C++ and I think Go's approach to generics is very clear and keeps the language simple.

  • @zoremeth7820
    @zoremeth7820 2 года назад

    Great video once again! Clear and relevant examples well explained

  • @kamilziemian995
    @kamilziemian995 Год назад +1

    4:55 I think alias would be `type UserID = int'. Now UserID is a new type with underlying type of int.

  • @diegoparraca
    @diegoparraca Год назад

    Waiting to buy your golang course :), realy nice vídeo btw

  • @acronproject
    @acronproject Год назад

    Thanks for this useful content about Generics very thanksfull

  • @amirreza3638
    @amirreza3638 8 месяцев назад

    Great video, thanks ❤

  • @blankos1817
    @blankos1817 9 месяцев назад

    i have a question... why on minute 3:20 he creates an interface and not a struct?

  • @DavisTibbz
    @DavisTibbz Год назад

    Fantastic as always bro

  • @sameergaikwad222
    @sameergaikwad222 5 месяцев назад

    amazing explanation. Thanks

  • @tmurchjr
    @tmurchjr Год назад

    Great stuff as usual.

  • @abhiiyenger1294
    @abhiiyenger1294 8 месяцев назад

    Thanks a lot!! Well explained!

  • @ВладФоменко-р4е
    @ВладФоменко-р4е Год назад

    Thank you!

  • @eternaldoorman5228
    @eternaldoorman5228 Год назад

    8:42 map could be any type. You could have an array of some structures and map a function that goes from structure to structure. The type inference ought to be able to handle everything. I know it can in Standard ML which was around in the eighties.

  • @mrmakra-eo1kx
    @mrmakra-eo1kx Год назад

    new to the channel really liked the video 😁

  • @zakariachahboun
    @zakariachahboun 2 года назад

    i already know about generics in Go But the way that you explained it and your deep voice is just cool hhhh

  • @marianokaimakamian6138
    @marianokaimakamian6138 4 месяца назад

    Very clear :D!... thanks!

  • @tharouetmaamouri9831
    @tharouetmaamouri9831 Год назад

    Brilliant, Thanks for this...

  • @scottspitlerII
    @scottspitlerII Год назад +1

    Man’s got a radio show host voice

  • @lotfikamel5947
    @lotfikamel5947 Год назад

    I hope you do a full advanced serie of go

  • @francogiulianopertile279
    @francogiulianopertile279 Год назад

    Muy buen video, me encantó la explicación de Generics, simple y concisa.

  • @jayantasamaddar1446
    @jayantasamaddar1446 Год назад

    At 4:25 I notice the interfaces being declared with the types and they have a `~` prefix. While you explain what it does, it seems like I can't find any resource for it. Can anyone link me a resource on the official website? Also I don't see the point of using Generics with Maps.

  • @AseDeliri
    @AseDeliri 2 года назад

    Great explanations, well done.

  • @rolandinnamorato1953
    @rolandinnamorato1953 2 года назад

    that audio quality though 10/10

  • @badrbadr3793
    @badrbadr3793 2 года назад

    Great video dude love it

  • @carlosramirezvera8645
    @carlosramirezvera8645 Год назад

    excellent explanation!

  • @MrYerak5
    @MrYerak5 8 месяцев назад

    What happens on error like deviding two empty strings?

  • @therealherbzy
    @therealherbzy Год назад

    Great video!

  • @mdkawsarislamyeasin4040
    @mdkawsarislamyeasin4040 Год назад +2

    Please create a playlist for beginner 🙂

  • @minicime8516
    @minicime8516 Год назад

    Good vid my man

  • @body_clock
    @body_clock 8 месяцев назад

    how do you have your terminal come down from the top like that?

  • @awesomedavid2012
    @awesomedavid2012 Год назад

    Great video

  • @chang112x
    @chang112x 10 месяцев назад

    Amazing!!!

  • @WorkHome-qv7kk
    @WorkHome-qv7kk Год назад

    How do you bring the terminal from the top? The one that pops up from the top

  • @kamilziemian995
    @kamilziemian995 Год назад

    Nice video.

  • @WorkHome-qv7kk
    @WorkHome-qv7kk Год назад

    1:45 how did you change both types together

    • @dadecky5276
      @dadecky5276 Месяц назад

      in vs code you can do ctrl D

  • @maury2000
    @maury2000 9 месяцев назад

    nice vid!

  • @badrakhariunchimeg1031
    @badrakhariunchimeg1031 6 месяцев назад

    User (constraints user (func) return (a + b);)

  • @mr.random8447
    @mr.random8447 Год назад

    GoLand IDE worth it? Saves time?

  • @lilbuckbreaker3868
    @lilbuckbreaker3868 4 месяца назад

    You’re the best

  • @mr.x5582
    @mr.x5582 Год назад

    Awesome!!!

  • @havefun599
    @havefun599 День назад

    thanks bro

  • @vaibhavmewada4508
    @vaibhavmewada4508 6 месяцев назад

    excellent

  • @flamejoy2843
    @flamejoy2843 Год назад

    Thx a lot

  • @OpenDeepLearning
    @OpenDeepLearning Год назад

    are you using a hackintosh?

  • @OmarAbdelaziz__47
    @OmarAbdelaziz__47 2 года назад

    well explained!

  • @mwnkt
    @mwnkt Год назад

    Where have you been all my life.

  • @OpenDeepLearning
    @OpenDeepLearning Год назад

    Do you use a mouse or a touchpad?

  • @enkiimuto1041
    @enkiimuto1041 Год назад

    Considering it is official it is odd you can't just call something like "ordered" in the import.

  • @fadhlirahim
    @fadhlirahim 7 месяцев назад

    what a voice!

  • @theflash2321
    @theflash2321 6 месяцев назад

    oh thank for explant ti.

  • @kumar-jatin-2000
    @kumar-jatin-2000 10 месяцев назад

    🤓: Generics
    🧐: Parametric Polymorphism

  • @terryphelps4204
    @terryphelps4204 Год назад +1

    Good video. You don't do all the annoying shit that other do way too much of: background music, showing excitement ("Hey!! What's up, RUclipsrs?!!"...), silly sound effects, etc. Just pass along knowledge to people who want to know.

  • @westernHypocricy
    @westernHypocricy Год назад

    You are using Goland IDE. You can just click the green button to run the program. Why are you using terminal instead? Specific reason? Just curious.

  • @headlinerbeats
    @headlinerbeats Год назад

    I dont get why go has no proper array functions like map filter and reduce natively just like js/node. Even with generics, the fact that you always have to code that up is ridicioulos. Makes me not want to commit to Go tbh

    • @p19shelt
      @p19shelt Год назад

      one of my mayjor deciding factors whwn wanting to code my startup. I need expressiveness, which most of my apps is filtering data.

  • @hananasyrawi5206
    @hananasyrawi5206 2 года назад

    I like u voice tho

  • @kamurashev
    @kamurashev Год назад +3

    Generics in go are ugly. Why the hell does it not infer type automatically? It looks like not generic but more like “multi typing” and syntax is also ugly.
    Video is cool though 👍

  • @josephs3973
    @josephs3973 5 месяцев назад

    Man, dafuq you doing programming, you should be reading audio books and rocking me to sleep.

  • @kevinkkirimii
    @kevinkkirimii Год назад

    Just use and save the hustle unless one truly requires generics. Go generics are not as great.

  • @amr3162
    @amr3162 Год назад

    Generics in go are really ugly. wish the type system was a bit smarter

  • @anhhaoam3379
    @anhhaoam3379 6 месяцев назад

    tks

  • @Douglascaina
    @Douglascaina 4 месяца назад

    maaan someone told me go had no generics and I was repeating functions like crazy 🫠

  • @rogvids
    @rogvids Год назад

    Great video