refactoring


lightning talk
Paranthesis [crayon-5c6d2db32e3b2969409844/] Returning non-bools [crayon-5c6d2db32e3c0793957938/] Returning bools [crayon-5c6d2db32e3c5383164624/] Reusing data Similar behavior in if/else branches [crayon-5c6d2db32e3cb863578322/] Similar behavior in if/else branches [crayon-5c6d2db32e3d0637669780/] Same behavior on both branches – move it outside the branches. [crayon-5c6d2db32e3d6923781765/] Condition that appears on all steps – Check it only once. [crayon-5c6d2db32e3dc664181411/]

Lightning talk #6 – Refactoring steps