Generics in Typescript

Поделиться
HTML-код
  • Опубликовано: 23 авг 2024
  • Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
    All the learning resources such as code files, documentations, articles and community discussions are available on our website:
    chaicode.com/
    You can find our discord link, github link etc on the above website.
    Twitter/X link: x.com/hiteshdo...
    Discord link: hitesh.ai/discord
    Learn React with 10 projects: • Let's learn react from...
    Learn Docker: • A practical guide on D...
    Learn Kubernetes: • Complete Kubernetes Co...
    How does a browser works: • How does a browser wor...
    How nodejs works: • How node JS works | En...
    Learn Redux-toolkit: • Learn Redux Toolkit in...
    Learn NextJS: • Nextjs Full stack course
    Learn Typescript: • Why to learn Typescript
    Learn Javascript: • Welcome to new JavaScr...
    Learn React Native: • React Native Mastery: ...
    Learn Zustand: • React state management...
    Learn Golang: • How to get started wit...

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

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

    One of the precise and easiest explanation out there. Thankyou Hitesh Sir

  • @mohit7717
    @mohit7717 20 дней назад

    Love the summary Sir...
    // Summary of Abstract classes
    // 1. We can make abstract classes abstract classes can't create their object on their own
    // 2. But this help to define their class inheriting them
    // get a better structure of their classes the compulsory thing that you have put
    // 3. If we want to put some methods that are cumpulsory need to their you can make those methodds as abstract as well
    // 4. Incase we want to add some features bydefault by giving the methds we can give that
    // 5. These classes can actujlly override this method as welll but if we want that this should be like that then we need to make that method as abstrac\

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

    Super Easy Explanation about the necessity of generic and issues with any. Really appreciate all the efforts you are putting on👍

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

    I love how you you quickly notice when you say a component some might think it's a React component. Best teacher! Thank you as always😊

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

    I have started from scratch of this play list and now I have came to this vedio also I have subscribed and I am not in 70% who are not subscribing 😅
    I love your teaching because you are not wasting time and make long vedio. your vedios are to the point 👌
    Expecting more vedios as soon as possible
    Thanks and love from village: nagla dagur near mathura (Uttar Pradesh) INDIA 🇮🇳

  • @anujparashar444
    @anujparashar444 Год назад +5

    Sir, Please continue with advance typescript topics like mapped types and all which is used in complex production application.

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

    your Jaipur setup always rocks. The TS content is great.
    I am using these concepts in developing a backend for a product.
    Many thanks.

  • @OlaMovies-pj3dy
    @OlaMovies-pj3dy 4 месяца назад

    One of the best explanation I found on the internet...

  • @SarveshKumar-08
    @SarveshKumar-08 9 месяцев назад

    00:01 Generics make components reusable
    01:35 Generics allow typescript functions to be more flexible and reusable.
    03:07 Generics in Typescript allow accepting and returning specific types of data.
    04:42 Generics in Typescript in language already existing
    06:14 Using generics in TypeScript allows us to define types for input and output values.
    07:55 Using generic types in TypeScript allows for flexible input and output values
    09:23 Generics allow you to define reusable functions and data types
    10:58 Generics in TypeScript allow for flexible and reusable data types

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

    It's cool that every video in the playlist has different thumbnail styles

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

      Got advice from some friends to have different thumbnails, instead of same as I did with Golang series. Working well so far

  • @odia-sanatani
    @odia-sanatani Год назад

    Thank you sir !
    I have a lot of doubts in the generic and you just cleared it in this video.

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

    I love the way u teach i.e By Referring the Documentation of something.A very Polite accent as well :)

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

    Thank you sir for this amazing short and crisp tutorials

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

    Great way of teaching, Love from Pakistan ❤

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

    when the cap is come back it means sir want to do something great towards community same energy is back

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

    Very nice sir ji...

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

    Voice very clarity and subject as well.

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

    What is the difference between abstract class and interface in typescript ?

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

    Kind of like Templates in C++

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

    Thank you sir....

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

    Any thoughts on this. Working file and return type is also same 😅
    function identityTwo(val:any): any {
    return val + val
    }
    function identityThree(val:any): typeof val {
    return val + val
    }
    console.log(identityTwo(2));
    // 4
    console.log(identityThree(2));
    // 4

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

      😅 it's looks like it right but it's not because it can return anything. 🤣

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

      Goal is to avoid any, it removes type information

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

    super :)

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

    😊😊😊

  • @cydn.1099
    @cydn.1099 Год назад

    🔥🔥🔥

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

    🙏👍

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

    #cfbr

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

    Bootle