Kotlin Scope Functions | Kotlin Tutorial 2019

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

КОМЕНТАРІ • 9

  • @ravincristiano
    @ravincristiano 4 роки тому +1

    that's really an amazing video on scope functions.m beginner here. and learning kotlin. keep uploading such kind of videos. thanks alot.Cody

    • @CodyEngelCodes
      @CodyEngelCodes  4 роки тому

      Thank you so much Ravin, happy you enjoyed this video 😁

  • @tarunsharma6455
    @tarunsharma6455 4 роки тому +2

    good video on scope function.... but not able clear the point when should i use which scope functions

    • @CodyEngelCodes
      @CodyEngelCodes  4 роки тому +1

      I’d like to do a video on each scope function individually to give the general use cases for each one.
      Generally speaking though you can use them interchangeably to your liking. Using let gives you the ability to reference the outer this reference while run and with doesn’t. Using also is great for side effects and apply works well as a substitute for a builder.

  • @jaserq
    @jaserq 4 роки тому +5

    I generally like your videos but this one was not clear . Tell clearly what their purposes are

    • @CodyEngelCodes
      @CodyEngelCodes  4 роки тому +1

      Thanks for the feedback, I’m hoping to do videos for each scope functions and give better examples of how they can be used.

  • @skptech2714
    @skptech2714 4 роки тому

    Also refer this link:
    kotlinscopefunction.blogspot.com/2020/03/kotlin-scoping-functions-apply-with-let.html