4 ms·
Yeah - Forth and Forth-likes encourage an extremely modular, concise, expressive form of coding... When you add macros it gets some of that meta-programming fee
by jwilliams 18y ago
Yeah - Forth and Forth-likes encourage an extremely modular, concise, expressive form of coding... When you add macros it gets some of that meta-programming feel that comes with Lisp.
All that said - I've never found it 100% natural, but (perhaps paradoxically) on the other hand I'm usually pleased with the results.
- vsingh 18y agoNo kidding! Take a look at this code I wrote for adding a node onto a binary tree: http://img301.imageshack.us/my.php?image=addtobinarytreescreenshjq2.png http://img301.imageshack.us/my.php?image=addtobinarytreescre... It is shown compared to the analogous code in C++ and Lisp. My Factor version could probably be improved. In fact, I just now realized that I could have factored out the two final calls to <node> into a single call.