Re: cool new sytax feature in Mathematica 6, compete with Matlab?



DP wrote:
So, typing A(1:10) in Matlab means the elements 1 to 10.

Now in Mathematica one can do the same, but the syntax is ';;'

Sorry but I find this notation ugly because my eyes are now programmed to
transmit to my brain that a semicolon means a command separator or the
beginning of a comment in various other languages.
Maple does a better job with the interval notation a..b

Dan

The front end formats it nicely so it is not at all difficult to read. You have to get used to it just as you had to get used to the peculiarities of other languages. It was a better solution than overloading yet another operator, as in the case of ! which means factorial as postfix, "not" as prefix, but shell escape at the beginning of the line, pipe prefix at the beginning of a string ...
.