Advanced Golang: Generics Explained

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 108

  • @David-xy4nw
    @David-xy4nw 2 роки тому +49

    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 🚀💪

  • @Hrit
    @Hrit 4 дні тому

    Liked how concise and to the point the video is.

  • @yasindce1998
    @yasindce1998 9 місяців тому +4

    Explanation is Top Notch. I clearly understood everything.

  • @spruslaks26
    @spruslaks26 Рік тому +1

    The best introduction to generics-huge thanks!

  • @ChristinaCephus
    @ChristinaCephus 11 місяців тому +1

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

  • @AdamHoelscher
    @AdamHoelscher 2 місяці тому

    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.

  • @SeleckPlays
    @SeleckPlays Рік тому +2

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

  • @144camj
    @144camj 29 днів тому

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

  • @BorisIsASpider
    @BorisIsASpider 2 роки тому +4

    Nice! keep these videos coming Ryan

  • @ColoDelCartucho
    @ColoDelCartucho 3 місяці тому

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

  • @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 6 місяців тому

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

  • @blackswan2020
    @blackswan2020 11 місяців тому

    my new favorite golang channel -- ty Ryan

  • @esra_erimez
    @esra_erimez 2 роки тому +10

    You have an awesome voice. So ASMR!

    • @hp67c
      @hp67c 8 місяців тому

      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.

  • @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 👏 🙌

  • @codelinx
    @codelinx Рік тому +1

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

  • @bartzz666
    @bartzz666 5 місяців тому

    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 😂😂😂

  • @danielmdev
    @danielmdev 5 місяців тому

    great video, clear and straight to the point

  • @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.

  • @kutmanamangeldiev4967
    @kutmanamangeldiev4967 Рік тому +1

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

  • @Tridib_Tinkel
    @Tridib_Tinkel Рік тому

    Love the way you teach, very calm

  • @Programscape
    @Programscape 2 роки тому

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

  • @tobiadeniji6630
    @tobiadeniji6630 Рік тому

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

  • @sladki_pas
    @sladki_pas 2 роки тому +3

    Awesome video and author!

  • @andyyarys4467
    @andyyarys4467 8 місяців тому

    Thank You! All very clarify and helpful.

  • @learntocode1708
    @learntocode1708 Рік тому

    Love the way you explain generics

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

    Thank you!

  • @yogendra591
    @yogendra591 5 місяців тому

    Very nice explanation, thanks, subscribed!

  • @abhiiyenger1294
    @abhiiyenger1294 9 місяців тому

    Thanks a lot!! Well explained!

  • @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

  • @pmoieni
    @pmoieni 2 роки тому

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

  • @tmurchjr
    @tmurchjr Рік тому

    Great stuff as usual.

  • @princeofexane
    @princeofexane Рік тому

    Best Go tutorial on UA-cam.

  • @cavila0217
    @cavila0217 2 роки тому

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

  • @sirajul-anik
    @sirajul-anik Рік тому

    you should make more videos man. appreciated.

  • @tharouetmaamouri9831
    @tharouetmaamouri9831 Рік тому

    Brilliant, Thanks for this...

  • @randall.chamberlain
    @randall.chamberlain Рік тому

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

  • @happy..1907
    @happy..1907 5 місяців тому

    Very good explanation. Thanks 👍

  • @nandans2506
    @nandans2506 5 днів тому

    Very good video. Thanks 👍

  • @amirreza3638
    @amirreza3638 9 місяців тому

    Great video, thanks ❤

  • @marianokaimakamian6138
    @marianokaimakamian6138 5 місяців тому

    Very clear :D!... thanks!

  • @miguemesch
    @miguemesch День тому

    Good explanation, excelent deep voice, nice

  • @zoremeth7820
    @zoremeth7820 2 роки тому

    Great video once again! Clear and relevant examples well explained

  • @DavisTibbz
    @DavisTibbz Рік тому

    Fantastic as always bro

  • @acronproject
    @acronproject Рік тому

    Thanks for this useful content about Generics very thanksfull

  • @shgh6242
    @shgh6242 Рік тому

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

  • @sameergaikwad222
    @sameergaikwad222 6 місяців тому

    amazing explanation. Thanks

  • @diegoparraca
    @diegoparraca Рік тому

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

  • @therealherbzy
    @therealherbzy Рік тому

    Great video!

  • @francogiulianopertile279
    @francogiulianopertile279 Рік тому

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

  • @chang112x
    @chang112x 10 місяців тому

    Amazing!!!

  • @badrbadr3793
    @badrbadr3793 2 роки тому

    Great video dude love it

  • @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

  • @kamilziemian995
    @kamilziemian995 Рік тому +1

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

  • @AseDeliri
    @AseDeliri 2 роки тому

    Great explanations, well done.

  • @mrmakra-eo1kx
    @mrmakra-eo1kx Рік тому

    new to the channel really liked the video 😁

  • @carlosramirezvera8645
    @carlosramirezvera8645 Рік тому

    excellent explanation!

  • @scottspitlerII
    @scottspitlerII Рік тому +1

    Man’s got a radio show host voice

  • @maniac5411
    @maniac5411 7 місяців тому

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

  • @minicime8516
    @minicime8516 Рік тому

    Good vid my man

  • @awesomedavid2012
    @awesomedavid2012 Рік тому

    Great video

  • @rolandinnamorato1953
    @rolandinnamorato1953 2 роки тому

    that audio quality though 10/10

  • @mr.x5582
    @mr.x5582 Рік тому

    Awesome!!!

  • @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.

  • @maury2000
    @maury2000 10 місяців тому

    nice vid!

  • @flamejoy2843
    @flamejoy2843 Рік тому

    Thx a lot

  • @lotfikamel5947
    @lotfikamel5947 Рік тому

    I hope you do a full advanced serie of go

  • @kamilziemian995
    @kamilziemian995 Рік тому

    Nice video.

  • @vaibhavmewada4508
    @vaibhavmewada4508 7 місяців тому

    excellent

  • @badrakhariunchimeg1031
    @badrakhariunchimeg1031 7 місяців тому

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

  • @blankos1817
    @blankos1817 10 місяців тому

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

  • @lilbuckbreaker3868
    @lilbuckbreaker3868 5 місяців тому

    You’re the best

  • @mdkawsarislamyeasin4040
    @mdkawsarislamyeasin4040 Рік тому +2

    Please create a playlist for beginner 🙂

  • @havefun599
    @havefun599 23 дні тому

    thanks bro

  • @WorkHome-qv7kk
    @WorkHome-qv7kk Рік тому

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

  • @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.

  • @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.

  • @MrYerak5
    @MrYerak5 9 місяців тому

    What happens on error like deviding two empty strings?

  • @body_clock
    @body_clock 9 місяців тому

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

  • @OmarAbdelaziz__47
    @OmarAbdelaziz__47 2 роки тому

    well explained!

  • @WorkHome-qv7kk
    @WorkHome-qv7kk Рік тому

    1:45 how did you change both types together

    • @dadecky5276
      @dadecky5276 2 місяці тому

      in vs code you can do ctrl D

  • @fadhlirahim
    @fadhlirahim 8 місяців тому

    what a voice!

  • @mr.random8447
    @mr.random8447 Рік тому

    GoLand IDE worth it? Saves time?

  • @mwnkt
    @mwnkt Рік тому

    Where have you been all my life.

  • @theflash2321
    @theflash2321 7 місяців тому

    oh thank for explant ti.

  • @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, UA-camrs?!!"...), silly sound effects, etc. Just pass along knowledge to people who want to know.

  • @OpenDeepLearning
    @OpenDeepLearning Рік тому

    Do you use a mouse or a touchpad?

  • @kumar-jatin-2000
    @kumar-jatin-2000 11 місяців тому

    🤓: Generics
    🧐: Parametric Polymorphism

  • @OpenDeepLearning
    @OpenDeepLearning Рік тому

    are you using a hackintosh?

  • @enkiimuto1041
    @enkiimuto1041 Рік тому

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

  • @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

  • @kevinkkirimii
    @kevinkkirimii Рік тому

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

  • @kamurashev
    @kamurashev 2 роки тому +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 👍

  • @amr3162
    @amr3162 Рік тому

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

  • @josephs3973
    @josephs3973 5 місяців тому

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

  • @anhhaoam3379
    @anhhaoam3379 7 місяців тому

    tks

  • @Douglascaina
    @Douglascaina 5 місяців тому

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