April 2019
Intermediate to advanced
480 pages
13h 22m
English
This chapter covers
In chapter 1, you learned that one of the most important techniques for safer programming is to clearly separate the parts of the programs that don’t depend on anything other than the input data from the part which depends on the state of the outside world. With programs composed of subprograms (called procedures, methods, or functions), this separation transitively applies to these subprograms as well. In Java these are called methods, but in Kotlin they're called functions, which is probably more appropriate because function is a mathematical term with a precise definition (as ...
Read now
Unlock full access