Goke Pelemo

65%
Flag icon
A class is a common form of module. I prefer my objects to be as immutable as possible, so I use Remove Setting Method (331) whenever I can. Often, when a caller asks for a new object, I need more flexibility than a simple constructor gives, which I can get by using Replace Constructor with Factory Function (334).
Refactoring: Improving the Design of Existing Code (Addison-Wesley Signature Series (Fowler))
Rate this book
Clear rating
Open Preview