Community

Null Object Refactoring

(Brian Mains) Martin Fowler wrote a book called “Refactoring: Improving the Design of Existing Code,” and in the book he discusses the “Introduce Null Object” refactoring. Instead of assigning a null value to a reference-type property, a nullable object can be used to represent a null value, instead

Read More - Register for Free Membership