#kotlin
Read more stories on Hashnode
Articles with this tag
TL;DR: Factory Method is a design pattern that defines an interface for creating objects, allowing subclasses to decide which class to instantiate,...
TL;DR: Ensure a class has only one instance and provide a global access point to it with the Singleton pattern, which is useful for coordinating...
Object Boundaries Respected: Navigating Coupling Challenges · TL;DR: Respect object boundaries: avoid coupling to data and prioritize interfaces and...
While loops are foundational, enumerators and iterators represent progression. · TL;DR: Avoid index-based iteration. Embrace higher-order collection...
Tests are our safety net. When their integrity is in doubt, we're at risk · TL;DR: Steer clear of non-deterministic tests.. Problem Lack of...
TL;DR - Caches discusses the problems with caching, such as coupling and maintainability, and proposes solutions like using an object mediator,...