Refactoring Insurance

Written by Laracasts - - Aggregated on Tuesday June 11, 2019

Technique #1. You can't improve your code if you're terrified to change it. That's where tests come into play. Think of them as refactoring insurance. Go ahead, make as many tweaks as you need to. Each step of the way, your tests will let you know if you've made a mistake.

« Composer Git Hooks - Laravel News - Building a UI Component with React and … »