# HG changeset patch # User František Kučera # Date 1587977746 -7200 # Node ID 6dff32230593fdb7a76eba6934205317843c2712 # Parent 614d52966251ad77b223609ee89a4f5cb44b6319 note on silent failures (full disk and data loss) diff -r 614d52966251 -r 6dff32230593 text/ssm.en.xml --- a/text/ssm.en.xml Sun Dec 29 09:30:25 2019 +0100 +++ b/text/ssm.en.xml Mon Apr 27 10:55:46 2020 +0200 @@ -384,6 +384,7 @@ b9345a0e-c672-45d3-b93b-8d0fb4ece8b3 recommendation Fail fast – errors in the code should be reported during build time or at least on first execution – do not silently continue if given error would lead to failure later in another part of the code – bad weak coupling leads to difficult debugging. + Avoid silent failures: e.g. if the computer runs out of disk space and the text editor is unable to save the file, it should immediately report error and allow user to choose different destination instead of silently failing and leaving the file empty.