The Joy of Kotlin

Summary

Maintaining poor legacy code, interpreting cryptic comments, and writing the same boilerplate over and over can suck the joy out of your life as a Java developer. Fear not! There's hope! Kotlin is an elegant JVM language with modern features and easy integration with Java. The Joy of Kotlin teaches you practical techniques to improve abstraction and design, to write comprehensible code, and to build maintainable bug-free applications.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Your programming language should be expressive, safe, flexible, and intuitive, and Kotlin checks all the boxes! This elegant JVM language integrates seamlessly with Java, and makes it a breeze to switch between OO and functional styles of programming. It's also fully supported by Google as a first-class Android language. Master the powerful techniques in this unique book, and you'll be able to take on new challenges with increased confidence and skill.

About the Book

The Joy of Kotlin teaches you to write comprehensible, easy-to-maintain, safe programs with Kotlin. In this expert guide, seasoned engineer Pierre-Yves Saumont teaches you to approach common programming challenges with a fresh, FP-inspired perspective. As you work through the many examples, you'll dive deep into handling errors and data properly, managing state, and taking advantage of laziness. The author's down-to-earth examples and experience-driven insights will make you a better—and more joyful—developer!

What's inside

  • Programming with functions
  • Dealing with optional data
  • Safe handling of errors and exceptions
  • Handling and sharing state mutation

About the Reader

Written for intermediate Java or Kotlin developers.

About the Author

Pierre-Yves Saumont is a senior software engineer at Alcatel-Submarine Networks. He's the author of Functional Programming in Java (Manning, 2017).

Table of Contents

  1. Making programs safer
  2. Functional programming in Kotlin: An overview
  3. Programming with functions
  4. Recursion, corecursion, and memoization
  5. Data handling with lists
  6. Dealing with optional data
  7. Handling errors and exceptions
  8. Advanced list handling
  9. Working with laziness
  10. More data handling with trees
  11. Solving problems with advanced trees
  12. Functional input/output
  13. Sharing mutable states with actors
  14. Solving common problems functionally


Buy On Amazon »
Kotlin in Action

Summary Kotlin in Action guides experienced Java developers from the language basics of Kotlin all the way through building appl ...

Details »
Kotlin Programming: The Big Nerd Ranch Guide

Kotlin is a statically typed programming language designed to interoperate with Java and fully supported by Google on the Androi ...

Details »
The Pragmatic Programmer: your journey to mastery, 20th Anniversary Edition (2nd Edition)

“One of the most significant books in my life.” —Obie Fernandez, Author, The Rails Way “Twenty years ago, the first edit ...

Details »
Effective Java

The Definitive Guide to Java Platform Best Practices–Updated for Java 7, 8, and 9   Java has changed dramatically since the ...

Details »
The Rust Programming Language (Covers Rust 2018)

The official book on the Rust programming language, written by the Rust development team at the Mozilla Foundation, fully update ...

Details »
Modern Java in Action: Lambdas, streams, functional and reactive programming

Manning's bestselling Java 8 book has been revised for Java 9 and Java 10! In Modern Java in Action, readers build on their exis ...

Details »
Programming TypeScript: Making Your JavaScript Applications Scale

Any programmer working with a dynamically typed language will tell you how hard it is to scale to more lines of code and more en ...

Details »
Head First Kotlin: A Brain-Friendly Guide

What will you learn from this book?Head First Kotlin is a complete introduction to coding in Kotlin. This hands-on book helps yo ...

Details »
Hands-on Design Patterns with Kotlin: Build scalable applications using traditional, reactive, and concurrent design patterns in Kotlin

Make the most of Kotlin by leveraging design patterns and best practices to build scalable and high performing appsKey FeaturesU ...

Details »
Spring in Action

Summary Spring in Action, 5th Edition is the fully updated revision of Manning's bestselling Spring in Action. This new edition ...

Details »