DEV Community

Discussion on: Simple ways to improve code readability

Collapse
 
jessekphillips profile image
Jesse Phillips

Be careful when making these logic changes. Check that your unittesting will catch incorrect logic since there are several potential logic changes, should && become ¦¦...

Collapse
 
briwa profile image
briwa

Ah yup, that is true. Refactoring should always be done with tests beforehand. I missed that out. Thanks for the tips!