Checkpoint: Clean Code & Refactoring
A checkpoint of ten short situations on clean code and refactoring: a function with a flag that also prints, an error code nobody checks, a method that reads another object's data, a bug fixed in the middle of a rename, a report method in a god class, a switch missing one case, a subclass reaching two levels up, a payment test with stand-ins, the order of four refactorings and what a saved run cannot see, each answer explained and linked to the page that teaches it.
Loading...
Loading content...