What are the trade-offs of using the proxy pattern for remote or lazy access?
Structural patterns are one of the three main categories of software design patterns, along with creational and behavioral patterns. They deal with how classes and objects are composed, related, and organized to form larger structures. In this article, we will focus on one of the most common structural patterns: the proxy pattern. We will explain what it is, how it works, and what are the trade-offs of using it for remote or lazy access.