i get ask thus topic in every interview and i explained wron everytime, now i got the proper understanding, thanks mate
@ImranShaikh-lu6wq11 ай бұрын
Thanks, hope we enjoy more generic videos in future.
@DreamStreet2012 Жыл бұрын
This is the best explanation I have seen so far
@SoftwareDeveloperDiaries Жыл бұрын
Happy to hear mate!
@BraHunt-m8q Жыл бұрын
And i also understood generics , Thank you very much sir
@snekface1707 Жыл бұрын
Thanks for the tutorial. Trying to wrap my head around generics and this helped a lot!
@SoftwareDeveloperDiaries Жыл бұрын
Great to hear!
@maximes.3209 Жыл бұрын
Thank you for making this video, it helps me a lot !
@SoftwareDeveloperDiaries Жыл бұрын
You're very welcome!
@tochimclaren2 ай бұрын
This is the shortest most cohesive Generics description on KZbin.
@carol00210 Жыл бұрын
So can I say that generics help me not having to overload methods? As I wouldn't have to write different methods with different parameter types in a class?
@SoftwareDeveloperDiaries Жыл бұрын
Correct 👍
@betomoedano Жыл бұрын
Great video bro!
@SoftwareDeveloperDiaries Жыл бұрын
Thanks mate 🙂
@computerhoofd Жыл бұрын
Very concise
@Di-yes Жыл бұрын
Man, that's good really 🤔very nice for such dummies like me
@SoftwareDeveloperDiaries Жыл бұрын
Glad to have you here mate! We all start somewhere 😉
@thedavistheory7674 Жыл бұрын
Mmmm couldn't we use a union type? Also doesn't this sorta defeat the purpose of ts? It seems like we are doing some extra steps to convert a static parameter into a dynamic one. Those are my doubts
@sf-spark129 Жыл бұрын
same question here. If we are making the type of a parameter as generics and can pass different types of parameters depending on what type we define at the function call level, what's the point of using a typed language and what's the difference b/w using the type any and generics ?