Generics in Typescript

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 38

  • @SarveshKumar-08
    @SarveshKumar-08 Рік тому

    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

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

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

  • @mohit7717
    @mohit7717 4 місяці тому +1

    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\

  • @subhashthenua7404
    @subhashthenua7404 2 роки тому +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 🇮🇳

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

    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😊

  • @pankajmandawat4507
    @pankajmandawat4507 2 роки тому +1

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

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

    You explained it in a really good way!

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

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

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

  • @odia-sanatani
    @odia-sanatani Рік тому

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

  • @anujparashar444
    @anujparashar444 2 роки тому +6

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

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

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

    • @HiteshCodeLab
      @HiteshCodeLab  2 роки тому +1

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

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

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

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

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

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

    Great way of teaching, Love from Pakistan ❤

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

    Thank you sir for this amazing short and crisp tutorials

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

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

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

    Voice very clarity and subject as well.

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

    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 2 роки тому

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

    • @HiteshCodeLab
      @HiteshCodeLab  2 роки тому +1

      Goal is to avoid any, it removes type information

  • @anitjha4795
    @anitjha4795 2 роки тому +1

    Very nice sir ji...

  • @savitrirani6869
    @savitrirani6869 3 дні тому

    Thanks

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

    Thank you sir....

  • @imamansoni
    @imamansoni 2 роки тому +2

    Kind of like Templates in C++

  • @cydn.1099
    @cydn.1099 2 роки тому

    🔥🔥🔥

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

    😊😊😊

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

    🙏👍

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

    super :)

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

    #cfbr

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

    Bootle