October 2021
Intermediate to advanced
336 pages
9h 16m
English
EXTRACT METHOD (P3.2.1)—Takes part of one method and extracts it into its own method.
REPLACE TYPE CODE WITH CLASSES (P4.1.3)—Transforms an enum into an interface, and the enums’ values become classes.
PUSH CODE INTO CLASSES (P4.1.5)—Is a natural continuation of REPLACE TYPE CODE WITH CLASSES (P4.1.3), as it moves functionality into classes.
INLINE METHOD (P4.1.7)—Removes methods that no longer add readability to our program.
SPECIALIZE METHOD (P4.2.2)—Removes unnecessary and problematic generality from methods.
TRY DELETE THEN COMPILE (P4.5.1)—Removes unused methods from interfaces and classes when we know their entire scope.
UNIFY SIMILAR CLASSES (P5.1.1)—Unifies two or ...
Read now
Unlock full access