81 points · by aycangulez · 14y ago · 21 comments
If I had an opportunity to teach an introductory software engineering course, I would strongly consider using Thinking Forth as a textbook.
Forth programming consists of extending the root language toward the application, providing new commands that can be used to describe the problem at hand. Programming languages designed especially for particular applications such as robotics, inventory control, statistics, etc., are known as “application-oriented languages.” Forth is a programming environment for creating application-oriented languages. (That last sentence may be the most succinct description of Forth that you’ll find.) In fact, you shouldn’t write any serious application in Forth; as a language it’s simply not powerful enough. What you should do is write your own language in Forth (lexicons) to model your understanding of the problem, in which you can elegantly describe its solution.
My spidey sense tells me that it's disruptive enough to represent a major opportunity of some kind. But Spidey could be wrong.
Actually, Paul Graham said something similar about Lisp.
"...In Lisp, you don't just write your program down toward the language, you also build the language up toward your program..."
http://www.hnsearch.com/search#request/all&q=thinking+fo...
checkout also http://factorcode.org/ a forth-like system with batteries. (already mentioned here too)
Ben Stiglitz (Terminal.app, Apple employee) at RubyConf 2008 introducing Forth: http://rubyconf2008.confreaks.com/forth.html
I also recommend checking out Factor. It grabs ideas from EVERYWHERE (Forth, Common Lisp, Smalltalk, Joy, etc.) and wraps them all up into a nice package.
Infnite-length files allow sloppy, disorganized thinking and bad factoring. Defnitions become longer without the discipline imposed by the 1K block boundaries. The tendency becomes to write a 20K file, or worse: a 20K definition.The only downside is that it will feel dated (because it is). Many of the ideas that were once progressive, original, and a bit revolutionary now seem obvious and a little trite.
An eye opener next to 'a little Smalltalk'
s/r/f/ that string