The Joy of Kotlin
eBook - ePub

The Joy of Kotlin

  1. 480 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

The Joy of Kotlin

Book details
Table of contents
Citations

About This Book

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

  • Making programs safer
  • Functional programming in Kotlin: An overview
  • Programming with functions
  • Recursion, corecursion, and memoization
  • Data handling with lists
  • Dealing with optional data
  • Handling errors and exceptions
  • Advanced list handling
  • Working with laziness
  • More data handling with trees
  • Solving problems with advanced trees
  • Functional input/output
  • Sharing mutable states with actors
  • Solving common problems functionally

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access The Joy of Kotlin by in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Manning
Year
2019
ISBN
9781638350125

Table of contents

  1. The Joy of Kotlin
  2. Copyright
  3. Brief contents
  4. contents
  5. Front matter
  6. 1 Making programs safer
  7. 2 Functional programming in Kotlin: An overview
  8. 3 Programming with functions
  9. 4 Recursion, corecursion, and memoization
  10. 5 Data handling with lists
  11. 6 Dealing with optional data
  12. 7 Handling errors and exceptions
  13. 8 Advanced list handling
  14. 9 Working with laziness
  15. 10 More data handling with trees
  16. 11 Solving problems with advanced trees
  17. 12 Functional input/output
  18. 13 Sharing mutable states with actors
  19. 14 Solving common problems functionally
  20. Appendix A. Mixing Kotlin with Java
  21. Appendix B. Property-based testing in Kotlin
  22. Index
  23. Lists of Figures, Tables and Listings