Laravel Keeps Using That Word -- I Do Not Think It Means What They Think It Means
One of the things that we do by defining design patterns is we create a common language that we can use to explain and express ourselves. When I say to you âI used an Adapterâ or âI implemented the Factory patternâ, that should conjure up a specific image in your mind of object relationships and behaviors, even if you donât know my specific use case or problem domain.
When we use these terms incorrectly, we not only devalue them, we confuse developers. For one of the most up-and-coming frameworks to use a technical term so incorrectly is disturbing. It breaks down the vocabulary that technical people use to communicate with each other, because there are now two very different definitions floating around with the same name.
Of course, Laravelâs Facades are in fact well-designed proxies implementing the Proxy Pattern. Thereâs nothing wrong with that: as a developer, itâs up to you to decide how and what patterns youâre willing to accept in your framework, and to write your application however you wish. All I ask is that we stop calling them Facades.
Hear hear. Via Letâs Talk About Facades | BrandonSavage.net.