Skip to content

Command Pattern

Medium — good to knowArchitecture

ELI5 — The Vibe Check

Every action in a text editor is a Command object: TypeTextCommand, DeleteWordCommand, BoldCommand. Because each action is an object, you can store them in a list, undo them (execute the reverse), redo them (re-execute), serialize them to disk, or queue them for later. This is exactly how Ctrl+Z works in every app you've ever used.

Real Talk

undefined

When You'll Hear This

undefined

Made with passive-aggressive love by manoga.digital. Powered by Claude.