YoVDO

Kotlin Scope Functions - Let, Apply, Run, With, and Also

Offered By: Smartherd via YouTube

Tags

Kotlin Courses Higher-Order Functions Courses Lambda Expressions Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of Kotlin scope functions in this comprehensive 27-minute tutorial. Dive deep into the usage and differences between 'with', 'apply', 'run', 'also', and 'let' higher-order functions, examining their Lambda expression implementations. Understand the properties of each function, including whether they return a 'Context Object' or 'lambda result', and how to access the context object using either the 'this' keyword or 'it' identifier. Follow along with practical examples and gain insights into when and how to effectively use these scope functions in your Kotlin projects.

Syllabus

Welcome
Types of Scope Functions
'with' function
'apply' function
'also' function
'let' function
'run' function
Quick Video Guide .


Taught by

Smartherd

Related Courses

Python Functions, Files, and Dictionaries
University of Michigan via Coursera
Complete Modern C++ (C++11/14/17)
Udemy
Java Programming Masterclass: Learn Java From Scratch
Udemy
Lambda with Functional Programming in Java8
Udemy
C# Advanced Topics: Prepare for Technical Interviews
Udemy