I now know enough to be more dangerous.
Overview Recently, I have been thinking about my preference for structured logging (details on this in to-be-written entry). A trivial but significant aspect of this, is that once you have switched to structured logging, markers like INFO, DEBUG, ERROR,… don't help. Simply grouping such a wide range of code paths into these categories is insufficient for any kind of analysis.
What is an error? An error is a local failure scenario that you don't currently understand - our continuous improvement process for error handling aims to move all these anomalies in the system from unknown to known.
Reasons to write code;
- Make money
- Save money
- Stay out of jail
- For fun
Making a change
When making a change to an existing piece of software I think there are broadly 2 options;
- Get in and out, change as little as possible
- Restructure the code to fit the new requirement