Liste des Groupes | Revenir à cl forth |
On 20/06/2025 3:36 pm, minforth wrote:But yes, it does matter! Because Forth is compact and can can runCounter-example: a good number of my apps involve structs, arrays>
and signal vectors in heap memory. Stack juggling? Absolutely not.
The code would be unreadable and a nightmare to debug.
>
Factoring in smaller code portions is often impossible because
you can't always distribute data, that inherently belongs together,
over separate words.
>
Then why factor, when with using named parameters = locals, the
code is already short, readable, maintainable, and bug-free.
>
Ask yourself why the Forth Scientific Library makes heavy use of
locals.
>
Of course things look different with simpler applications.
What you're saying is at the level you program, it hardly matters
whether
it's Forth or something else.
Les messages affichés proviennent d'usenet.