Sujet : Re: Back & Forth - Co-routines
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 09. Feb 2025, 16:54:29
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2025Feb9.165429@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : xrn 10.11
Paul Rubin <
no.email@nospam.invalid> writes:
It may not be obvious, but
closures are sort of the same thing as OOP, just viewed from a different
angle.
At least that's what the fans of languages claim that have only one or
the other. And Forth has had ;CODE and DOES> very early on, and those
who don't have objects or closures claim that DOES> is sort of the
same as OOP and closures, just viewed from a different angle.
Yet we found it fruitful to add object-oriented extensions in various
Forth systems, and we find it fruitful to add closures in Gforth.
- anton
-- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.htmlcomp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/EuroForth 2024 proceedings:
http://www.euroforth.org/ef24/papers/