- Refactoring/OrganizingData . . . . 1 match
== Replace Data Value with Object p175 ==
http://zeropage.org/~reset/zb/data/ReplaceDateValueWithObject.gif
* You have a class with many equal instances that you want to replace with a single object. [[BR]] ''Turn the object into a reference object.''
== Replace Array with Object p186 ==
* You have an array in which certain elements mean different things. [[BR]]''Replace the array with an object that has a field for each element.''
== Replace Magic Number with Symbolic Constant p204 ==
* You have a literal number with a paricular meaning. [[BR]] ''Crate a constant, name it after the meaning, and replace the number with it.''
== Replace Record with Data Class p217 ==
== Replace Type Code with Class p218 ==
* A class has a numeric type code that does not affect its behavior. [[BR]] ''Replace the number with a new class.''
http://zeropage.org/~reset/zb/data/ReplaceTypeCodeWithClass.gif
== Replace Type Code with Subclasses p223 ==
* You have an immutable type code that affects the bahavior of a class. [[BR]] ''Replace the type code with subclasses.''
http://zeropage.org/~reset/zb/data/ReplaceTypeCodeWithSubclasses.gif
== Replace Type code with State/Strategy p227 ==
* You have a type code that affects the behavior of a class, but you cannot use subclassing. [[BR]] ''REplace the type code with a state object.''
http://zeropage.org/~reset/zb/data/ReplaceTypeCodeWithStateStrategy.gif
== Replace Subclass with Fields p232 ==
http://zeropage.org/~reset/zb/data/ReplaceSubclassWithFields.gif
Found 1 matching page out of 7555 total pages (5000 pages are searched)
You can also click here to search title.