January 2017
Intermediate to advanced
420 pages
9h 25m
English
In the previous chapters, we introduced the basics of Kotlin and how to write procedural and object-oriented code. The emphasis in this chapter will be on functions; how to take the first steps into functional programming; and the features that Kotlin supports, which makes programming with functions easier.
In this chapter, we will cover the following topics:
Functions are defined using the fun keyword with optional parameters and a return value. The parameter list must always be present, even if no parameters are defined. For example, this function has no parameters ...
Read now
Unlock full access