Which kid's beginners programming - Python or Forth?
Roy Smith
roy at panix.com
Thu Jun 30 08:33:20 EDT 2005
Nick Craig-Wood <nick at craig-wood.com> wrote:
> In FORTH you don't generally use variables unless you really have to -
> that is what the stack is for
Exactly. Every language has its natural way of doing things. You can
usually bludgeon a language into doing things some other way, and newcomers
to a language usually try to do exactly that. Eventually they catch on to
the idioms.
Storing temporary values in variables in a stack language is like iterating
through the items of a list in Python by incrementing an integer and using
it as an index.
More information about the Python-list
mailing list