The Prototype Pattern involves cloning objects. Learn how to create both deep and shallow clones for instances in your program where creating a new object won't work. The Prototype Pattern is a common ...
Take advantage of the NULL Object pattern to avoid writing too much boilerplate code in your application when checking for null values A null object is one that doesn’t have any referenced value. The ...