5 ms·
> You can delete code as long as the tests pass. It's true that poorly maintained code contains a lot of pieces which should be deleted but if tests where adde
by citrin_ru 4y ago
> You can delete code as long as the tests pass.
It's true that poorly maintained code contains a lot of pieces which should be deleted but if tests where added post-hock it is hard to be sure that they cover all use cases.
After adding basic tests I would suggest to improve logging to get good understanding of how the software is used. Better to store them in a database which allows quick queries over all data you have (I'd personally would use ClickHouse but there are other options). But even with good logs you need to wait and collect enough data otherwise you can miss rare but important use cases. E. g. something which happens only during the tax season.