On Sun, Jul 13, 2014 at 6:31 PM, Alexander Belopolsky <ndar...@mac.com>
wrote:

> Also, the use of strings will confuse most syntax highlighters.  Compare
> the two options in this screenshot:
>
> [image: Inline image 2]
>

I guess this is a minor issue for "real" code, but even IPython doesn't
(yet?) provide syntax highlighting for lines as they're typed, and this is
a tool intended mainly for interactive use.

That screenshot also I think illustrates why people have such a preference
for the first syntax. The second line looks nice, but try typing it quickly
and getting all the commas located correctly inside versus outside of each
of the triply-nested brackets...

No-one's come up with any names for this that are nearly as good as "arr".
Is it really that bad to have to type one extra character, np.array instead
of np.arr<tab>?

-n

-- 
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to