Introduction to higher order function in swift hindi tutorial

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • Higher order functions in swift are really powerful way to get your work done in few line of code, but before we deep dive it's important to understand the difference between higher order function and a normal function in swift.
    In this tutorial I am explaining the difference between the them, but in the coming sessions I think it's important to explore the technical reason as to how these higher order function work.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥
    🔗Click on the link to subscribe: www.youtube.co...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    🎶 Royalty free Music: www.bensound.com
    ############################################
    Connect with me on social media
    📧: codecat15@gmail.com
    🐦: / codecat15
    Facebook: / code.cat.792
    Github: github.com/cod...
    ###########################################
    #introductionToHigherOrderFunction #swiftProgramming #higherOrderFunctionHindiTutorial

Komentáře • 22

  • @sivakumarsaragadam8842
    @sivakumarsaragadam8842 Před 4 lety +2

    i've seen so many channels, but no one is explaining better than you!! your'e Amazing!!

    • @CodeCat15
      @CodeCat15  Před 4 lety +1

      Hello Siva, welcome to the channel and thank you for your kind words. Feel free to ask questions on this topic I will be happy to answer them and do subscribe to the channel and share it with your iOS group as well 🙏

  • @madmaxcoder6209
    @madmaxcoder6209 Před 4 lety +1

    Generally everyone just explains use of map and filter but nobody explained how higher order function are different from regular function, thanks a lot for this tutorial its very much clear now

  • @sambit6500
    @sambit6500 Před 4 lety +2

    Awesome Explanation ! Sir

    • @CodeCat15
      @CodeCat15  Před 4 lety +1

      Next tutorial will be on map and it’s going to be pretty exciting and in depth, in this i just wanted to give a short explanation of what higher order functions are just to give a head start, please do ask if you have any questions and do share this with your iOS group and do subscribe to the channel

  • @ak9tgaming714
    @ak9tgaming714 Před 4 lety +1

    Good tutorial! Somtimes interviewers do ask to create our own map function with the help of generics.

    • @CodeCat15
      @CodeCat15  Před 4 lety

      This is interesting, our own map function, i mean you can do that but yeah it will require a lot of effort, but totally doable since swift is open source i did check the source code of map function in git

  • @goretushar37
    @goretushar37 Před 4 lety +1

    Hey CodeCat, Thanks for amazing video, and waiting for more video on the same topics, Also waiting for a discussion of object-oriented and functional programming.

    • @CodeCat15
      @CodeCat15  Před 4 lety +1

      Thanks Tushar, indeed there should be a discussion on this topic

  • @The001Anil
    @The001Anil Před 4 lety +1

    Good explain difference between high order functions and normal function.

    • @CodeCat15
      @CodeCat15  Před 4 lety

      Hey @Anil welcome to the channel and thank you for you comment, feel free to ask questions if you have on this topic, I will be happy to answer them

  • @weaponxgaming2904
    @weaponxgaming2904 Před 3 lety +1

    Really you are great sir....... Thanks for tutorials

    • @CodeCat15
      @CodeCat15  Před 3 lety +1

      I am just a learner like you, I just like to share what i know or have learned new. Plz do feel free to ask questions on this topic

  • @sambit6500
    @sambit6500 Před 4 lety +1

    Sir I have watched your all videos. It was awesome.
    Please Make videos on UI Constraints and Subscript .

    • @CodeCat15
      @CodeCat15  Před 4 lety +2

      I sure will @Sambit thank you so much for your kind words and am glad to know these videos were helpful to you. Please feel free to ask questions on any topic i will be happy to answer them

  • @randalnadadava9316
    @randalnadadava9316 Před 3 lety +1

    Good explain sir and help my main issue thank u much CodeCat

  • @shreyasinharoy2362
    @shreyasinharoy2362 Před 3 lety +1

    Can you explain the difference between map and sort.

    • @CodeCat15
      @CodeCat15  Před 3 lety

      Map is used for data conversion based on the closure you pass it is similar to sort but rather than sorting it changes each element based on the closure logic that we pass in, however sorted is used for ordering the elements in a collection from ascending to descending.

    • @shreyasinharoy2362
      @shreyasinharoy2362 Před 3 lety

      @@CodeCat15 Thank you so much . Its clear now.

  • @shreyasinharoy2362
    @shreyasinharoy2362 Před 3 lety

    Can you explain the differnce between flatmap and compactmap?