This science fiction / comedy / completely serious talk traces the history of JavaScript, and programming in general, from 1995 until 2035. It’s not pro- or anti-JavaScript; the language’s flaws are discussed frankly, but its ultimate impact on the industry is tremendously positive.

  • spartanatreyu@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 days ago

    Yeah, I’m the lead on a bunch of websites that all have to be localised.

    There’s a lot of weird footguns to watch out for, and a lot of retraining devs when they’re used to only working on a single language/locale.

    Two biggest head scratchers I’ve had to deal with are computers treating “fr-FR” different from “fr-fr” (due to file system case-sensitivity differences between developers), and having to undo the coded assumption that languages and locales follow an [a-z]{2}-[a-z]{2} pattern (e.g. “en-gb”) once we stumbled upon Latino Americano: “es-419”.


    EDIT: My left ear really loves the Erlang talk.

    This fixes it:

    const audioContext = new AudioContext();
    const audioElement = audioContext.createMediaElementSource(document.querySelector("video"));
    audioContext.destination.channelCount = 1;
    audioElement.connect(audioContext.destination);