(no subject)

Jun 13, 2006 19:51

Man, it's pretty sad. I always end up getting angry at a language for not supporting vector addition as a first class operation.

I love vector addition so much. Since python doesn't seem to have a ++ operator, I propose that ++ becomes the vector addition operator, and *** becomes dot product because ** is already the power(exponent) operator.

Anyway, I'm just pissed I have to rewrite my documentation cause I don't think it'll be clear enough, when I like my vector approach so much. Everybody knows

map(lamda x,y:x+y, [0,1], [2,3])

is vector addition, right?

EDIT: Nuts, I just asked two python programmers what they thought that code did. One gave me the wrong answer, and another just didn't know. Foo.
Previous post Next post
Up