dotJS 2012 - Brian Leroux - WTFJS

dotconferences1 HN recommenders · 2013–2024
209K views · talk · dated · Uploaded 2013-01-19

Brian Leroux's dotJS 2012 talk WTFJS is a quick, humorous tour of JavaScript's odd behaviors and quirks.

Linked as a funny tour of JavaScript gotchas, usually to show the language has oddities of its own.

Watch on YouTube

5 comments from Hacker News

@aroman2013 · in “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: [VIDEO]

RecommendsView on HN
@MaulingMonkey2015 · in “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. [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.

@loeg2019 · in “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]: [VIDEO]

@mrtksn2021 · in “80% of tech could be built outside IT by 2024, thanks to low-code tools”

I don’t see why you are offended. I love JS but here it is 20min of programming jokes in the expense of JS: [VIDEO] As it comes to PHP, I don’t say that you can do everything by a single PHP file in a web server folder(actually, you can but not comfortably). I’m trying to illustrate it’s low-code nature. There are no other languages that are that easy to start solving your problem with. Okay, maybe Python. The newer no-code or low-code tools have the same spirit. They are abstraction layers targeting a domain. These days there’s plenty you can do by programming visually without any knowledge of programming languages. Not everything needs to scale for throughput.

@TacticalCoder2024 · in “Try Clojure”

That's JavaScript for you. Here's a talk about the (in)sanity of JS: [VIDEO] The same under Clojure (on top of the JVM) shall throw a class cast exception.