So Predictable

Good code should have test coverage. However, writing tests is not a box-ticking exercise. If tests are not written well, they are not helpful. One characteristic of a good test is that its results are consistently reproducible. This helps us see what the problem is every time we run the test. There is a commonContinue reading “So Predictable”

Legacy Code

What is legacy code? I was asked this question in an interview for a contract once. I answered that all code, once written, is immediately legacy code. I got that contract. I still believe this to be the case. Any developer worth their salt never stops learning. This means yesterday’s code is inevitably not asContinue reading “Legacy Code”