dotJS 2012 - Brian Leroux - WTFJS
Why Hacker News recommends it
Linked as a funny tour of JavaScript gotchas, usually to show the language has oddities of its own.
What it is
Brian Leroux's dotJS 2012 talk WTFJS is a quick, humorous tour of JavaScript's odd behaviors and quirks.
Recommended by 1 HN commenters across 1 different months, 2013 to 2024.
What Hacker News said
Recommends aroman · 2013-04 · on “Ask HN: What's the best technical talk you've heard?”
I'm glad that someone posted this :) See also a longer spin of of this talk at the more decent dotJS conference: [this video]
Cites MaulingMonkey · 2015-05 · on “Why should I have written ZeroMQ in C, not C++ (2012)”
> No, actually, it doesn't. Perhaps less in what features to avoid, but there's plenty of hidden gotchas to avoid in JavaScript still. [this video] [LINK] > C++ is a huge language, javascript is a relativly small one. C++'s ISO/IEC 14882:2003 weighs in at 786 pages, compared to ECMA-262 (5.1 Edition)'s 258 pages (measuring by PDF reader). A ~3x difference, but not quite the order of magnitude I'd expect from huge vs small.
Cites loeg · 2019-01 · on “Compiler Warnings”
Meh. They're different languages with different expectations. "is" is distinct from "==" in both, and Python gets "==" right (obviously). Javascript doesn't really have any high ground here[0]. (In contrast, Python:) >>> [] == False False >>> object() == False False >>> "" == False False >>> {} == False False They're just different. [0]: [this video]
Cites TacticalCoder · 2024-05 · on “Try Clojure”
That's JavaScript for you. Here's a talk about the (in)sanity of JS: [this video] The same under Clojure (on top of the JVM) shall throw a class cast exception.