Introduction to higher order function in swift hindi tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 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

ความคิดเห็น • 22

  • @sivakumarsaragadam8842
    @sivakumarsaragadam8842 4 ปีที่แล้ว +2

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

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +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 🙏

  • @sambit6500
    @sambit6500 4 ปีที่แล้ว +2

    Awesome Explanation ! Sir

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +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

  • @madmaxcoder6209
    @madmaxcoder6209 4 ปีที่แล้ว +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 4 ปีที่แล้ว +1

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

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +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

  • @The001Anil
    @The001Anil 4 ปีที่แล้ว +1

    Good explain difference between high order functions and normal function.

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว

      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

  • @goretushar37
    @goretushar37 4 ปีที่แล้ว +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  4 ปีที่แล้ว +1

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

  • @randalnadadava9316
    @randalnadadava9316 3 ปีที่แล้ว +1

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

    • @CodeCat15
      @CodeCat15  3 ปีที่แล้ว

      Happy to help :)

  • @weaponxgaming2904
    @weaponxgaming2904 4 ปีที่แล้ว +1

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

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +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

  • @ak9tgaming714
    @ak9tgaming714 4 ปีที่แล้ว +1

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

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว

      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

  • @shreyasinharoy2362
    @shreyasinharoy2362 3 ปีที่แล้ว +1

    Can you explain the difference between map and sort.

    • @CodeCat15
      @CodeCat15  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

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

  • @shreyasinharoy2362
    @shreyasinharoy2362 3 ปีที่แล้ว

    Can you explain the differnce between flatmap and compactmap?

    • @shreyasinharoy2362
      @shreyasinharoy2362 3 ปีที่แล้ว

      @Ravi Is there any specific difference between them?