Harry ChengBuilder Pattern — Creating complex objects step-by-stepWhen building a house, there are many things to consider. For example, you need to lay out the foundation for the house, construct…Nov 15, 2020Nov 15, 2020
Harry ChengMemento Pattern — Undo, RedoRemember your undos and redos? The most commonly used operation on any text editor. Now imagine you’re a developer on a text editing app…Nov 15, 2020Nov 15, 2020