1. Only Euphria has sequences?

Once in a while I see a post that says something like: "...because Euphoria's
sequences are still not found in other languages."

Maybe only Euphoria uses the term "sequence", but isn't it essentially the same
as Python's lists, Ruby's arrays, Lua's tables(?), and Scheme's lists?

Brent

new topic     » topic index » view message » categorize

2. Re: Only Euphria has sequences?

> 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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu