April 2024
Intermediate to advanced
474 pages
9h 39m
English
This chapter examines structural patterns in Kotlin, focusing on how objects are composed and arranged within larger structures. These patterns aim to simplify the interactions and relationships between different components of our system.
We will discuss how to enhance the functionality of our objects without creating complex class hierarchies. Additionally, we’ll explore methods to adapt to future changes and rectify design decisions made in the past. Furthermore, we’ll examine techniques for reducing the memory footprint of our programs.
Throughout this chapter, we will cover the following patterns:
By the end of this chapter, you will have a better ...