command-reversible-prevents-meaningless-undo

Status: IN

The Command pattern's Reversible() method determines at runtime whether a command is worth undoing — for example, a font change to the same font is a no-op that should not consume an undo slot, preventing meaningless undo stacking.

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

Depended on by

JSON