Part 1
Scripting with Kotlin

Kotlin is a language that scales—you can create scripts with a few lines, or an entire enterprise application with many classes and libraries. Our objective is to deliver value, not to write a lot of code. From that point of view, the conciseness and effectiveness of every line of code matters.

In this part, you’ll learn about type inference, defining variables, using string templates, and creating multiline strings. Then we’ll look at how to create functions to elegantly iterate over ranges of values and to process data using the argument-matching capabilities of Kotlin.

You’ll learn to create scripts, but that knowledge will carry you forward to creating OO code, writing functional code...all the way to creating enterprise and Android applications.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset