In high school I remember my first encounter with double entry accounting. It was tedious extra work with no real benefit. On my first assignment I “lost” nearly half my money.
If a professional accountant makes a similar mistake in the name of efficiency, the losses could reach into or past the millions.
In a software program, even a simple bug transcribing data between two variables can cause a catastrophic failure. The losses can range from lost time to lost customers, from hundreds of dollars into or past millions of dollars.
If a programmer could use a practice similar to double entry accounting to prevent such an error, would it be professional of them to choose not to because it feels too “tedious”?
Keep that in mind the next time you decide that simple function isn’t worth testing.