diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2025-03-29 11:10:24 +0100 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2025-03-29 11:10:24 +0100 |
| commit | 451aa92846b5fd5c8a0739336de3aa26d741d750 (patch) | |
| tree | 21e51213bf1d39c2a8677060c51d83a656873786 /html/notes/strict-mode.md | |
| parent | 5025f9acf31cd880bbff62ff47ed03b69a0025ee (diff) | |
Relocate MD sources for HTML notes.
Diffstat (limited to 'html/notes/strict-mode.md')
| -rw-r--r-- | html/notes/strict-mode.md | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/html/notes/strict-mode.md b/html/notes/strict-mode.md deleted file mode 100644 index 5b99386..0000000 --- a/html/notes/strict-mode.md +++ /dev/null @@ -1,16 +0,0 @@ -# Strict mode to disallow ignoring returned values - -This ties in to the last point. In Scheme, a non-tail expression in a -body can return an arbitrary number of values, which will be silently -ignored. - -This can lead to bugs, where a procedure actually returns some kind of -success or failure indicator (instead of raising an error) and the -programmer forgets to handle it. - -Though it may be too inefficient to enable globally, there should at -least be a mode of compilation that emits code which checks at every -single function return whether there are any values that are being -ignored, and raises an error if so. - -There would of course be a form to explicitly ignore values. |
