klotz: object-oriented programming*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. The article explains the command pattern—a behavioral design pattern that turns actions into objects—using a practical example of a text editor in Python. It walks through setting up a Document receiver, defining a Command interface, and creating concrete InsertCommand and DeleteCommand classes that implement execute() and undo().

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: object-oriented programming

About - Propulsed by SemanticScuttle