|
|
|
|
|
by jefftk
1070 days ago
|
|
> But I think a better option is often fiddling and seeing what happens. The trick is to make it so that fiddling is safe. E.g., on a project where I have good test coverage and find mystery code, I can just delete it and see what fails. Or I set up a big smoke test that runs a bunch of input and compares outputs to see what changes. There was a good discussion of this in the comments, starting at https://www.jefftk.com/p/accidentally-load-bearing#fb-109168... In addition to tests, you can also add logging to your running system, or make the change behind a flag that you A/B test in production. |
|
And by the time it breaks, will anyone remember the probable cause?