September 2019
Intermediate to advanced
462 pages
11h 3m
English
Kotlin differs quite a bit from Java in how classes are defined. Writing classes in Java involves so much boilerplate code. To alleviate the pain of typing all that, programmers rely a lot on IDEs to generate code. Good news, you don’t need to type as much. Bad news, you’ll have to wade through all that code each day. Kotlin moves the code generation from the IDE to the compiler—kudos for that, especially for a language created by the company that makes the best IDEs in the world.
The syntax for creating a class in Kotlin is closer to the facilities in Scala than in Java. The number of options and flexibilities seem almost endless; let’s start small and grow the code for creating a class incrementally.
Here’s ...
Read now
Unlock full access