note on silent failures (full disk and data loss) v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Mon, 27 Apr 2020 10:55:46 +0200
branchv_0
changeset 66 6dff32230593
parent 65 614d52966251
child 67 78eca0b3ab5f
note on silent failures (full disk and data loss)
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 @@
 			<id>b9345a0e-c672-45d3-b93b-8d0fb4ece8b3</id>
 			<type>recommendation</type>
 			<text>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.</text>
+			<note>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.</note>
 		</item>
 	</chapter>