Try writing tests to match requirements. Try writing tests, then refactoring to see if it doesn't break the test(still compiles)