4 ms·
I remember one of the PLT Scheme guys talking about how without TCO in OO languages you can't even express state machines without creating new state holder obje
by Flow 15y ago
I remember one of the PLT Scheme guys talking about how without TCO in OO languages you can't even express state machines without creating new state holder objects.
In a way, without TCO you must manually abstract each step and the next one and drive the stepping from outside. Not too unlike using an iterator instead of asking a collection to call f() for each entry.
Having read what he said I too feel that TCO is a very nice addition to other language features.
- primodemus 15y agoRelevant LtU thread: http://lambda-the-ultimate.org/node/3702 http://lambda-the-ultimate.org/node/3702
- gioele 15y agoSadly it links a blog entry on the old projectfortress.sun.com site (available at http://web.archive.org/web/20110716163344/http://projectfortress.sun.com/Projects/Community/blog/ObjectOrientedTailRecursion http://web.archive.org/web/20110716163344/http://projectfort... but without the nice formatted code snippets). Too bad that the new project fortress blog at oracle.com is almost empty and filled with garbage (non-processed TeX sources).
- mquander 15y agoYeah, does anyone know what the deal with that is? I was really enjoying following Steele's notes on Fortress. I hope that neither the language nor the blog has been binned.