Lightning talk #6 – Refactoring steps

lightning talk

Paranthesis

Returning non-bools

Returning bools

Reusing data

Similar behavior in if/else branches

Similar behavior in if/else branches

Same behavior on both branches – move it outside the branches.

Condition that appears on all steps – Check it only once.

Leave a comment

Your email address will not be published.