Compare a list of strings: Difference between revisions
Content added Content deleted
(easylang) |
Hendursaga (talk | contribs) m (Update broken URL.) |
||
Line 1,181: | Line 1,181: | ||
Application code is hard to write and hard to read when low-level code is mixed in with application code. |
Application code is hard to write and hard to read when low-level code is mixed in with application code. |
||
It is better to hide low-level code in general-purpose code-libraries so that the application code can be simple. |
It is better to hide low-level code in general-purpose code-libraries so that the application code can be simple. |
||
Here is my solution using LIST.4TH from my novice-package: |
Here is my solution using LIST.4TH from my novice-package: https://www.forth2020.org/beginners-to-forth/a-novice-package |
||
<syntaxhighlight lang="forth"> |
<syntaxhighlight lang="forth"> |
||
: test-equality ( string node -- new-string bad? ) |
: test-equality ( string node -- new-string bad? ) |