Huaiyu Zhu
2000-07-17 19:42:18 UTC
As to the claim that additional operators for linear algebra is somehow
comparable to the special syntaxes/quirks of various programming languages,
no real argument has been presented so far. It's more like: If I don't care
and don't use such things, they must belong to a special domain and be
somehow comparable to some other things that I do know and dislike.
- Python is a general purpose language, and as such it can'tcomparable to the special syntaxes/quirks of various programming languages,
no real argument has been presented so far. It's more like: If I don't care
and don't use such things, they must belong to a special domain and be
somehow comparable to some other things that I do know and dislike.
support special case syntax for Matrix/cgi/xml/db programming.
(special syntax has previously been requested for both cgi and
db programming).
especially on the level of syntax requirements.
If you really want to convince people, I would like to see examples of
how adding these operators would make working in other domains easier
(directly, not through translation through linear algebra).
I'm not sure what this is asking for. My first impression is similar tohow adding these operators would make working in other domains easier
(directly, not through translation through linear algebra).
"show me an example of how using C syntax would make working in assembly
easier (directly, not by compiling a C program)".
On second thought, maybe you are thinking about situations like: when doing
web programming you want to add server statistics and put the graphics on
the page? Of course it helps, but you have to translate the numbers into
linear algebra. I don't think these arguments leading anywhere.
Or maybe you want this?
a = ["Alice", "Bob"]
b = " is "
c = ["a girl", "a boy"]
d = a .+ b .+ c
If the request had been: if you really want to convince people that string
literals are worth having in the language, you need to give examples of it
make working in other domains easier (directly, not through translating
through strings), I would have exactly the same reaction. Strings are good
for text. Even though you can use regular expression to calculate pi to any
place you want, which is another domain, that's not the reason strings are
the language.
The morale of the arguement is: requiring every syntax to be useful in every
domain is too extreme and not quite useful. But considering exactly what
the domain is and exactly how it might be used may help.
Huaiyu