I am never going to complain about Python again

Chris Rebert clp2 at rebertia.com
Thu Oct 10 01:26:04 EDT 2013


On Wed, Oct 9, 2013 at 9:36 PM, Steven D'Aprano <steve at pearwood.info> 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.

Oh, indeed, you have no idea.
Since we're talking about JavaScript suckage, I'm obliged to link to
this wonderful video on the subject:
https://www.destroyallsoftware.com/talks/wat

Cheers,
Chris R.



More information about the Python-list mailing list