Re: Only Euphria has sequences?
- Posted by Greg Haberek <ghaberek at gmail.com> Jul 19, 2005
- 493 views
> Maybe only Euphoria uses the term "sequence", but isn't it essentially th= e same as Python's lists, Ruby's arrays, Lua's tables(?), and Scheme's list= s? Not entirely. Each language stores and manages each of these "arrays" in a different manner. Most (if not all) of these laguages also have a separate "string" type. Euphoria doesn't. Strings are sequences, and therefore string manipulation is the same as sequence manipulation. The atom also makes Euphoria unique -- it only has one data type. An atom may be any number. Sequences, at their basic level, are filled only with atoms. So all you have is atoms and sequences of atoms. Two (and only two) distinct data types, what other language has such simplicity? ~Greg