Be careful when making these logic changes. Check that your unittesting will catch incorrect logic since there are several potential logic changes, should && become ¦¦...
Ah yup, that is true. Refactoring should always be done with tests beforehand. I missed that out. Thanks for the tips!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.