gof-visitor-breaks-encapsulation

Status: IN

The Visitor pattern may break encapsulation because element classes must expose enough internal state through their public interface for visitors to perform their operations.

Source: entries/2026/06/17/gof-oo-chunk-21.md

Depended on by

JSON