Hacker News new | ask | show | jobs
by odonnellryan 3807 days ago
A return point inside an if statement is a great place to do a refactor. Refactor anything inside that if into its own function, write a test, and see what happens :)