Skip to Main Content
Kotlin Design Patterns and Best Practices - Third Edition
book

Kotlin Design Patterns and Best Practices - Third Edition

by Alexey Soshin
April 2024
Intermediate to advanced content levelIntermediate to advanced
474 pages
9h 39m
English
Packt Publishing
Content preview from Kotlin Design Patterns and Best Practices - Third Edition

9

Idioms and Anti-Patterns

In the preceding chapters, we explored various aspects of the Kotlin language, delving into the advantages of functional programming and examining concurrent design patterns.

This chapter focuses on the dos and don’ts in Kotlin programming. It aims to help you recognize idiomatic Kotlin code and understand patterns that are best avoided and serves as a compilation of best practices, covering a range of topics discussed earlier.

You might consider some of the content in this chapter simpler compared to the discussions on concurrent data structures and design patterns from the previous two chapters. However, I believe it’s beneficial to address idioms as a unified topic, and to do so, we needed to complete the entire ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Kotlin Design Patterns and Best Practices - Second Edition

Kotlin Design Patterns and Best Practices - Second Edition

Alexey Soshin
Programming Kotlin

Programming Kotlin

Venkat Subramaniam
Kotlin in Action

Kotlin in Action

Svetlana Isakova, Dmitry Jemerov

Publisher Resources

ISBN: 9781805127765Supplemental Content