Sale!

Kotlin Design Patterns and Best Practices: Elevate your Kotlin skills with classical and modern design patterns, coroutines, and microservices

Add your review

Original price was: $44.99.Current price is: $33.99.

Original price was: $44.99.Current price is: $33.99.

Sale!

Note: Prices may fluctuate as sellers adjust them regularly. You'll see the latest price at final checkout.
Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare


Dive deep into Kotlin design patterns, explore idiomatic functional programming, and master microservices with frameworks like Arrow, Ktor, and Vert.x.

Key FeaturesStart from basic Kotlin syntax and go all the way to advanced topics like Coroutines and structural concurrencyLearn how to select and implement the right design pattern for your next Kotlin projectGet to grips with concurrent and reactive microservices with Ktor and Vert.xBook Description

For developers who are working with design patterns in Kotlin, this practical guide offers an opportunity to put their knowledge into practice. The book covers classical and modern design patterns, and provides a hands-on approach to implementation, along with associated methodologies.

The third edition stays current with Kotlin updates, spanning from version 1.6 onwards, and offers in-depth insights into topics like structured concurrency and context receivers. The book starts by introducing essential Kotlin syntax and the significance of design patterns, covering classic Creational, Structural, and Behavioral patterns. It then progresses to explore functional programming, Reactive, and Concurrent patterns, including detailed discussions on coroutines and structured concurrency. As you navigate through these advanced concepts, you’ll enhance your Kotlin coding skills. The book also delves into the latest architectural trends, focusing on microservices design patterns and aiding your decision-making process when choosing between architectures.

By the end of the book, you will have a solid grasp of these advanced concepts and be able to apply them in your own projects.

What you will learnUtilize functional programming and coroutines with the Arrow frameworkUse classical design patterns in the Kotlin programming languageScale your applications with reactive and concurrent design patternsDiscover best practices in Kotlin and explore its new featuresApply the key principles of functional programming to KotlinFind out how to write idiomatic Kotlin code and learn which patterns to avoidHarness the power of Kotlin to design concurrent and reliable systems with easeCreate an effective microservice with Kotlin and the Ktor frameworkWho this book is for

This book is for developers who want to apply design patterns they’ve learned from other languages in Kotlin and build reliable, scalable, and maintainable applications. You’ll need a good grasp on at least one programming language before you get started with this book. Familiarity with classical design patterns from your language of choice would be helpful, but you’ll still be able to follow along if you code in other languages

Table of ContentsGetting Started with KotlinWorking with Creational PatternsUnderstanding Structural PatternsGetting Familiar with Behavioral PatternsIntroducing Functional ProgrammingThreads and CoroutinesControlling the Data FlowDesigning for ConcurrencyIdioms and Anti-PatternsPractical Functional Programming with ArrowConcurrent Microservices with KtorReactive Microservices with Vert.x

From the Publisher

Kotlin Design Patterns top banner Kotlin Design Patterns top banner

Kotlin Design Patterns - 1Kotlin Design Patterns - 1

There are lots of books on Kotlin, and on Design Patterns too, what makes this book unique?

As I was planning this book, I had the following idea in mind: instead of just teaching a new language to the readers, I wanted to teach them Kotlin through Design Patterns, and Design Patterns through Kotlin. I believe I succeeded in my goal, although the readers will be the best judges.

While there are many learning resources for Kotlin and design patterns in the abstract, there are no other books that teach you how to apply the classic Creational, Behavioral, and Structural design patterns to Kotlin. This book offers a comprehensive guide to smarter coding in Kotlin.

Kotlin Design Patterns - 2Kotlin Design Patterns - 2

What’s new in this edition, and why should readers of the previous edition consider upgrading?

This edition reflects the rapid evolution of both the industry and Kotlin programming language. Two of the most exciting topics this book now covers are Structured Concurrency, which helps write concurrent programs without risking resource leaks, and Context Receivers, which can be viewed as an evolution of Extension Functions and allows writing more concise and expressive code. In addition, a new chapter in this book is dedicated to the Arrow library, a functional programming library that has gained popularity in the Kotlin community over the past few years.

While only one chapter is completely brand-new, many of the other chapters have been extensively modernized and extended to add new coverage throughout the book. Readers of the previous edition will find, among other things, new content on stable deep recursive functions, windowed, chunked, and zipWithNext functions on collections, new Gradle DSL, and JVM records in Kotlin.

Kotlin Design Patterns - book stackKotlin Design Patterns - book stack

Finally, how will this book help readers in their careers?

The book can help readers in multiple ways. If they’re at the beginning of their career, it should be a good introduction to the benefits of the Kotlin programming language and a pragmatic, not too academic, introduction to the concept of Design Patterns. On the other hand, if they are experienced developers, they will be able to learn how and when the patterns they already know could be applied in Kotlin, what patterns are already built into the language or the standard library, and how to implement those that are not built-in.

Kotlin Design Patterns end banner Kotlin Design Patterns end banner

Publisher ‏ : ‎ Packt Publishing
Publication date ‏ : ‎ April 29, 2024
Edition ‏ : ‎ 3rd
Language ‏ : ‎ English
Print length ‏ : ‎ 474 pages
ISBN-10 ‏ : ‎ 1805127764
ISBN-13 ‏ : ‎ 978-1805127765
Item Weight ‏ : ‎ 1.78 pounds
Dimensions ‏ : ‎ 7.5 x 1.07 x 9.25 inches
Best Sellers Rank: #1,045,671 in Books (See Top 100 in Books) #53 in Functional Software Programming #194 in Mobile App Development & Programming #997 in Software Development (Books)
Customer Reviews: 4.7 4.7 out of 5 stars (21) var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });

10 reviews for Kotlin Design Patterns and Best Practices: Elevate your Kotlin skills with classical and modern design patterns, coroutines, and microservices

0.0 out of 5
0
0
0
0
0
Write a review
Show all Most Helpful Highest Rating Lowest Rating
  1. Allen Wyma

    Great Resource for Experienced Developers to Kotlin
    I’ve been writing Flutter apps for a while and sometimes I either need to create an Android-based plugin for Flutter, or update an existing plugin. My first Android app was using Java and now-a-days, most new Android apps are in Kotlin, hence the plugins are in Kotlin for Flutter.This was a great resource for experienced developers to understand the basics of Kotlin so we can get up to speed with this new language.

    Helpful(0) Unhelpful(0)You have already voted this
  2. Murat S.

    Great book to up your Kotlin game
    Having read through the Kotlin Design Patterns and Best Practices, Third Edition, I get a real sense that this book is a fantastic resource for anyone serious about upping their Kotlin game. It feels like a journey from the basics right through to advanced concepts like coroutines and microservices, all while grounding everything in solid design patterns.For someone looking to learn, this book seems incredibly helpful. It doesn’t just throw complex ideas at you; it appears to build understanding step by step with clear explanations and code examples. It feels like the kind of book that could really empower developers to not just write Kotlin code, but to write good, maintainable, and robust Kotlin applications. The fact that it’s updated for Kotlin 2.0 and includes modern libraries like Arrow makes it feel more current and relevant. It gives me the impression that diving into this book would be a truly rewarding experience for any developer eager to grow their skills in the Kotlin world.

    Helpful(0) Unhelpful(0)You have already voted this
  3. Subbir

    Great resource to learn kotlin
    This book is awesome. It is really a good resource to learn the kotlin in simplest form. It is super easy to understand, the problems and structures, the way that they are described in this book. I would recommend it.

    Helpful(0) Unhelpful(0)You have already voted this
  4. chuchutrain

    Good and comprehensive guide to Kotlin design patterns and functional programming.
    This book covers a wide range of patterns and functional programming, provides clear explanations and practical examples. However, I found some examples can be replaced with more newer and relatable example, and adding more diagrams should enhance the explanation. It provides a wealth of knowledge for Kotlin developers looking to implement design patterns. Good for both novice and experienced developers. Overall, I am happy with it and would recommend it to anyone looking to deepen their understanding of Kotlin design patterns.

    Helpful(0) Unhelpful(0)You have already voted this
  5. Aidan

    Amazing book for learning both design pattens and the intricacies of Kotlin
    Disclaimer: I received a review copy of this book for free.TLDR: This is a great book that covers both what makes Kotlin cool, and how to create succinct, maintainable code that utilizes all of Kotlin’s features. It explains things well and contains great information. I would highly recommend this book to people who already know a bit about programming and are looking to create better code and possibly learn the awesome language that is Kotlin.Throughout this book, I have greatly increased my knowledge of both Kotlin and design patterns. I am currently a junior at the University of Utah studying computer science, so I have experience working with code. I have never studied traditional design patterns, however, so this book was a great resource for me in expanding my toolset for creating maintainable and readable code. Everything in this book was taught succinctly yet was very understandable, containing ample examples of the ideas presented. It not only covers the traditional design patterns outlined by the gang of four but also digs into the wonders of functional programming. Most of my schooling has been on object-oriented programming, yet I have always been curious about functional programming. This book has scratched that itch, teaching you the incredible benefits of functional programming and its implementation, as well as the pros and cons of the method. It bridges the divide between object-oriented and functional design patterns incredibly well, something that is often missed by functional evangelists.This book is also a great resource in learning kotlin itself. The book guides you through the syntax and features of kotlin throughout the entire book, showing how kotlin lends itself well to many different design patterns. It emphasizes Kotlin’s multi-paradigm nature and shows off both its object-oriented and functional prowess. It discusses awesome features like scoping functions, extension functions, functions as first class objects, and many other features. This book not only serves as a great resource on design patterns, but also a manual on how to use kotlin effectively that blows the kotlin documentation out of the water. Throughout its 12 chapters it manages to teach you everything you need to know about the language. This emphasis on kotlin does not detract from the teaching of design patterns, however, but instead allows practical examples of each pattern to be shown. It provides you with a basis to explore and explain complex design patterns in an obtainable way.The book in places does seem to gloss over some topics that would be foreign to complete programming beginners, so I think that you should not get this book if you have not had any experience programming in Kotlin or another language. It assumes that you already know the basics of programming, like classes, functions, inheritance, variable scope, etc. It is designed as a resource for writing better code, not learning how to code.The 414 pages of this book took me about 3 full days to read, but never became a slog. The book continuously throws interesting topics at you but never stays on one for longer than it needs to. I almost never can read textbooks, but this one managed to keep my attention like no other.In conclusion, I would highly recommend this book to anyone who wants to learn about creating maintainable and readable code while also exploring the awesome language that is Kotlin.

    Helpful(0) Unhelpful(0)You have already voted this
  6. Amazon customer 461

    Its a great read for kotlin devs.
    Kotlin Design Patterns by Alexey Soshin is a great resource for Kotlin developers. The book starts with basic Kotlin syntax and advances to complex topics like Coroutines and Structured Concurrency. It expertly guides readers in selecting and implementing the right design patterns for their projects.Key features include practical insights into concurrent and reactive microservices using Ktor and Vert.x, and a thorough exploration of functional programming with the Arrow framework.This book is ideal for developers building reliable, scalable, and maintainable applications. By the end, readers will have mastered advanced concepts and can apply them effectively in their projects. Whether familiar with design patterns from other languages or new to them, this guide offers practical, hands-on learning.

    Helpful(0) Unhelpful(0)You have already voted this
  7. Steven

    That is a good book for newcomer
    This book is an exceptional guide for developers looking to master Kotlin and elevate their coding skills through effective design patterns. The book is well-structured, providing clear and concise explanations of complex concepts, making them accessible even to those who may be newer to design patterns. What sets this book apart is its practical approach; each pattern is accompanied by real-world examples and best practices that are directly applicable to everyday programming challenges. Whether you’re a novice or an experienced developer, this book is a valuable resource that enhances your understanding of Kotlin and empowers you to write more efficient, maintainable, and scalable code. Highly recommended for anyone serious about advancing their Kotlin proficiency

    Helpful(0) Unhelpful(0)You have already voted this
  8. Amazon Customer

    Found it Good. Justifying its Cover Title and content in each chapter are good too.

    Helpful(0) Unhelpful(0)You have already voted this
  9. Athlos

    A valid Design Pattern book.

    Helpful(0) Unhelpful(0)You have already voted this
  10. Messias Junior

    The box came opened. It arrive in a rainy day, so the cover was wet and the pages humid.

    Helpful(0) Unhelpful(0)You have already voted this

    Add a review

    Your email address will not be published. Required fields are marked *

    Kotlin Design Patterns and Best Practices: Elevate your Kotlin skills with classical and modern design patterns, coroutines, and microservices
    Kotlin Design Patterns and Best Practices: Elevate your Kotlin skills with classical and modern design patterns, coroutines, and microservices

    Original price was: $44.99.Current price is: $33.99.

    bestdealsavvy.com
    Logo
    Compare items
    • Total (0)
    Compare
    0
    Shopping cart