What is an inline function in Kotlin?

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

КОМЕНТАРІ • 58

  • @SahilTheExplorer
    @SahilTheExplorer Рік тому +7

    Very well explained i was searching a simple definition on the internet but it was so confusing.. your explanation with proper examples made it clear

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

      I am glad that my content helped you.

  • @qingzhang6763
    @qingzhang6763 4 місяці тому +3

    The "show kotlin bytecode" is very useful. Thanks for introducing that feature :)

  • @TechnicalAkshay
    @TechnicalAkshay Рік тому +5

    One of the best explanation on youtube for kotlin inline function thanks alot

  • @HareshSharma-nz4nt
    @HareshSharma-nz4nt 8 годин тому

    Please make more videos on interview questions, very well explained

  • @codermon
    @codermon 28 днів тому +1

    Great explanation AmitShekharIITBhu👍

  • @Guruprakashc
    @Guruprakashc 9 місяців тому +1

    Many Videos I Watching About Inline Function How Works? But Your Video Once Watching Simple and Easy To UnderStand Brother...Thanks A Lot

    • @amitshekhar
      @amitshekhar  9 місяців тому

      Keep learning and keep growing

  • @tappusaina4717
    @tappusaina4717 Місяць тому +1

    I was looking for basics of inline and this one is the best... Thanks Amit G

  • @mozhdehnouri4931
    @mozhdehnouri4931 Рік тому +1

    your video is short and totally easy to undrstand thanks a lot and
    keep this style of video

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

      Glad you liked it

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

      are you being sarcastic I dont understand at all ...
      may be my bad

  • @AmitVerma-iq3oe
    @AmitVerma-iq3oe Рік тому +1

    very well explained with proper examples and code👏

  • @林權章-u3u
    @林權章-u3u Рік тому +1

    These videos have been very helpful to me, thank you!

  • @youdube1203
    @youdube1203 Рік тому +1

    Great video as usual

  • @luntumavukuza4311
    @luntumavukuza4311 6 місяців тому +1

    Thanks a lot Amit, great explanation and I see that this is also very similar to Swift inalienable

  • @ankiiiiit7866
    @ankiiiiit7866 Рік тому +1

    Great explanation, thanks.

  • @ajeenasainudeen9380
    @ajeenasainudeen9380 10 місяців тому

    Super, can you please create some questions regarding MVVM, Clean Architeh, Livedata, jetpack compose and also some problem solving questions

  • @bhushan5302
    @bhushan5302 Рік тому +1

    thank you, yes please make on coroutines

  • @naumanjafar140
    @naumanjafar140 7 місяців тому

    Brother, I have also studied that those functions should be inlined that accept a lambda, because to execute a lambda, it has to be created and treated as an object, please provide insight on this

  • @VivekMishra161993
    @VivekMishra161993 Рік тому +3

    Can you create videos for recyclerview vs listview, threads vs coroutines and SSL Pinning . I am being asked these questions very frequently

  • @maskmanlifestyle
    @maskmanlifestyle 9 місяців тому

    Hello Amit Sir! I've attended two interviews with FinTech (banking) companies, and they asked about securing user data. The questions included how to ensure the security of confidential user data when passing passwords to the server and how to store sensitive information securely locally. Additionally, they inquired about SSL pinning, a concept I've researched but need a more comprehensive understanding. I would appreciate your guidance on these topics.
    Your explanations are very awesome. Kindly help me in this
    Thank you.

    • @amitshekhar
      @amitshekhar  9 місяців тому

      I teach these things in my program: amitshekhar.me

  • @a_human_on_earth
    @a_human_on_earth 7 місяців тому +1

    Nice!

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

    Please make video on this topic "Inline, Noinline and Crossinline" in kotlin.

  • @Aashvi30
    @Aashvi30 Рік тому +1

    Please explain the internal working of viewmodel

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

      Definitely. Keep learning and Keep sharing.

  • @johnsmith2032
    @johnsmith2032 Рік тому +1

    Thank you!

  • @Аленка-о9ц8м
    @Аленка-о9ц8м Рік тому +1

    Great explanation!

  • @VikashKumar-t3v8z
    @VikashKumar-t3v8z Рік тому

    Could you also cover the concept of inline with higher order function.

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

    2:52 based on what number of lines of code we have to consider funtion is small or large?

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

      I prefer 1-4 lines of code in a function to be small.

  • @rahulpathak1444
    @rahulpathak1444 Рік тому +1

    Please make video on internal keyword & @Jvmsynthetic annotation.

  • @dinakarmaurya8000
    @dinakarmaurya8000 9 місяців тому +1

    nice

    • @amitshekhar
      @amitshekhar  9 місяців тому

      Keep learning and keep growing

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

    is there any performance benefits?

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

      Yes as mentioned. Function call overhead doesn't occur. Less overhead and faster program execution.

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

      @Amit Shekhar when we pass a function as an argument at that time there is no need to create function object and no need to invoke it