On 10/10/2013 05:36, Steven D'Aprano wrote:
Just came across this little Javascript gem:

",,," == Array((null,'cool',false,NaN,4));

=> evaluates as true

http://wtfjs.com/2011/02/11/all-your-commas-are-belong-to-Array

I swear, I am never going to complain about Python again.


Isn't that what the CS gurus call a type safe array? What's the problem, *I* don't see anything wrong with it :)

--
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to