Discussion: new operators for numerical computation

Bjorn Pettersen bjorn at roguewave.com
Sat Jul 22 00:19:27 EDT 2000


Tim Hochberg wrote:

[snip]
> ------------------------------------------------------------------------
> Proposal one, which for lack of a better name I'll call Huaiyu's proposal:

[snip]

> Advantages:     Similarity to MatLab syntax.
> Disadvantages:  Reversed syntax.
>                 Essentially precludes eventual unification of NumPy and MatPy.
>                 5.+A probably won't confuse the parser, but it may confuse me.

No, it will not confuse the parser, however it will be parsed as "5.0 +
A" which might not have been intended...

In any case, I find Konrad's proposal more aestethically pleasing (but
then I don't care about Matlab users <wink>)

-- bjorn




More information about the Python-list mailing list