3 ms·
> a small number of constructs composed into more complex concepts. Emphasis on small; my favorite Forth quote[0] is: : ( 41 word drop ; immediate ( Tha
by a1369209993 7y ago
> a small number of constructs composed into more complex concepts.
Emphasis on small; my favorite Forth quote[0] is:
: ( 41 word drop ; immediate
( That was the definition for the comment word. )
( Now we can add comments to what we are doing! )
Of course, per the original topic:
> (You [can also do that] in Lisp but they don't teach you those parts at school. They teach the pure functional parts, where you can't do things that you can in C++. Bastards.) [1]
0: philburk_pforth/fth/system.fth:12
1: http://yosefk.com/blog/my-history-with-forth-stack-machines.html http://yosefk.com/blog/my-history-with-forth-stack-machines....
- OldGuyInTheClub 7y agoIf I understand [1], the author is impressed by Forth but can't commit to the mindflip required to use it. I suspect that I'll wind up in a similar place with Lisp and/or Forth but that it will be worth knowing how to solve problems by approaching them differently.
- a1369209993 7y agoMy experience is that Forth and Lisp both have a lot of useful ideas that I'd really like to take advantage of, but lack basic amenities like temporaries without LIFO semantics (Forth), control over memory layout (Lisp), static types or syntax (both).