A function returning x is Foo narrows the type at every call site, and the compiler takes the claim entirely on trust. A guard that under-checks is worse…
A shell pipeline reports the exit code of the last command, so mysqldump | gzip > file succeeds when the dump fails and the gzip writes nothing. pipefail…
A compose file with variable substitution, an override and an anchor is not readable by inspection, and the gap between what you think it says and what it…
94% coverage, and a suite that passes with the logic inverted. Coverage measures execution rather than verification, and there is a tool that measures the difference.
The return expression is evaluated before finally runs, and the value is not handed to the caller until afterwards — so a finally that returns wins, silently. A…