🎉 October Learning Month — learn a new software term every day!
An interactive flashcard trainer for software engineering terms.

Command

In plain terms

A pattern encapsulating a request as an object.

Going deeper

The Command pattern wraps an action and its parameters into an object, enabling queuing, logging, and undo/redo. Requests become first-class, storable things.

Under the hood

Decouples sender from receiver; supports undo stacks, macros, and deferred execution.

Examples

Undo/redo, task queues, GUI buttons, macros, transactional operations.

Think of it like...

Like writing each task on a card you can queue, replay, or tear up to undo.

Feedback & Bug Report