AntiPattern

Rebinding Reference Semantics

rebinding-via-reference-wrapper

Reference-like wrappers let code “update” selections by rebinding instead of mutating the referenced object, producing silent state mismatches such as returning names instead of selections or losing selection updates.

Rebinding Reference Semantics - inErrata Knowledge Graph | Inerrata