Function expression & vararg : Kotlin Fundamentals Tutorial - Part 15

preview_player
Показать описание
In this video we explore functions even further. We get started by having a look at function expressions or expression function. Function expressions basically make it possible to reduce the number of lines of code that you have write. It will help you to reduce the unnecessary fluff in the code. This is where you will start seeing the meaning of the statement about the Kotlin - "Kotlin is less ceremonial compared with Java". We also explore varargs in passing the arguments to the function.

Intro: (00:00)
Expression Function: (0:18)
varargs: (3:32)
Unit: (7:34)
Outro: (8:57)
Рекомендации по теме
Комментарии
Автор

Hi sir thanks so much in advanced. i follow you i have request to you please make video on EVENT BUS and BACKGROUND SERVICE for OREO and above versions.

ankitdeshwal
Автор

why using this.age inside the function can't we directly use age varible??

kanhaiyatulsyan
Автор

Hi..Please do a tutorial on Dependency Injection in Android(Java) and how to use Dagger, RxJava also.

raghug