Programming Kotlin: Create Elegant, Expressive, and Performant JVM and Android Applications

Programming Kotlin: Create Elegant, Expressive, and Performant JVM and Android Applications
EPUB

Book Description

Programming Kotlin: Create Elegant, Expressive, and Performant JVM and Android Applications by Venkat Subramaniam

Programmers don't just use Kotlin, they love it. Even Google has adopted it as a first-class language for Android development. With Kotlin, you can intermix imperative, functional, and object-oriented styles of programming and benefit from the approach that's most suitable for the problem at hand. Learn to use the many features of this highly concise, fluent, elegant, and expressive statically typed language with easy-to-understand examples. Learn to write easy-to-maintain, high-performing JVM and Android applications, create DSLs, program asynchrony, and much more.
Kotlin is a highly concise, elegant, fluent, and expressive statically typed multi-paradigm language. It is one of the few languages that compiles down to both Java bytecode and jаvascript. You can use it to build server-side, front-end, and Android applications. With Kotlin, you need less code to accomplish your tasks, while keeping the code type-safe and less prone to error. If you want to learn the essentials of Kotlin, from the fundamentals to more advanced concepts, you've picked the right book.
Fire up your favorite IDE and practice hundreds of examples and exercises to sharpen your Kotlin skills. Learn to build standalone small programs to run as scripts, create type safe code, and then carry that knowledge forward to create fully object-oriented and functional style code that's easier to extend. Learn how to program with elegance but without compromising efficiency or performance, and how to use metaprogramming to build highly expressive code and create internal DSLs that exploit the fluency of the language. Explore coroutines, program asynchrony, run automated tests, and intermix Kotlin with Java in your enterprise applications.
This book will help you master one of the few languages that you can use for the entire full stack - from the server to mobile devices - to create performant, concise, and easy to maintain applications.

Content

1. Hello Kotlin

Part I. Scripting with Kotlin
2. Kotlin Essentials for the Java Eyes
3. Working with Functions
4. External Iteration and Argument Matching
5. Using Collections
6. Type Safety to Save the Day

Part II. Object-Oriented Kotlin
7. Objects and Classes
8. Class Hierarchies and Inheritance
9. Extension Through Delegation

Part III. Functional Kotlin
10. Functional Programming with Lambdas
11. Internal Iteration and Lazy Evaluation

Part IV. Elegant and Efficient Kotlin
12. Fluency in Kotlin
13. Creating Internal DSLs
14. Programming Recursion and Memoization

Part V. Programming Asynchronous Applications
15. Exploring Coroutines
16. Asynchronous Programming

Part VI. Interop and Testing
17. Intermixing Java and Kotlin
18. Unit Testing with Kotlin
19. Programming Spring Applications with Kotlin
20. Writing Android Applications with Kotlin
Download

Download in .ePUB format

Add comments
Прокомментировать
Введите код с картинки:*
reload, if the code cannot be seen
Copyright © 2019