@nbache
Quote:
nbache wrote:
@Samurai_Crow
Yes. A compound variable is built from a stem with arbitrary extensions and can (with a bit of care - it admittedly does not always intuitively work like at least I expect, especialy when you go beyond two levels ) perform lots of tricks for which you'd expect to need hashes or Dictionaries or associative arrays or whatever "modern" languages call them. And then some ... due to the interpretitive nature of ARexx.
Most people never use stem/compound variables as more than a simple array, like e.g. stem.1, stem.2, etc., and perhaps keep the count in stem.0, but you can do so much more.
Ah yes! I had forgotten that. Once the Object REXX source was opened up by IBM, I had thought that somebody would pick it up and run with it on the Amiga and make it new again.
Unlike AREXX, Python has a JIT compiler that parses the .py files into compiled .pyc files so that it doesn't have to reinterpret the Python source more than once. There are a few things I'd change about the type system in Python to make it even faster but the Unladen Swallow project at Google is already looking into that. It is object oriented also.
Just because the example I gave was not the best doesn't mean that Python is bad. If there was any complaint I would make about Python it is that they change the language too much, too often. Not many people are adopting Python 3.0 because it is not completely backward compatible to 2.6.x. Even the Unladen Swallow build of Python is not based on Python 3.0 syntax.
--Sam