visitor-accumulation-validates-traversal-action-orthogonality

Status: IN

Visitor's capacity to accumulate state across elements during traversal (e.g., PricingVisitor summing costs) provides concrete empirical evidence for the principle that traversal and action are orthogonal concerns: the identical traversal infrastructure supports arbitrarily different accumulation computations, demonstrating that separating traversal from action yields genuine combinatorial reuse rather than mere architectural cleanliness.

Justifications

Visitor's state accumulation empirically confirms traversal-action separability

Depends on (SL): gof-visitor-accumulates-state, traversal-and-action-orthogonal-concerns

JSON