Category Archives: programming

Service Workers and PWAs: It’s About Reliable Performance, Not “Offline”

A lot of smart folks keep asking me why AppCache isn’t a good enough solution for “offline” and why it was necessary to invent Service Workers. It’s a great question! Motivated by the regrettably uneven browser support landscape for Service Workers, there’s a real incentive to “just make something work offline” on iOS or old-IE. […]

s/Future/Promise/g

One of the things I’ve poured myself into this year — with a merry band of contributors including Domenic Denicola, Anne van Kesteren, Jake Archibald, Mark Miller, Erik Arvidsson, and many others — has been a design for Promises that DOM and JS can both adopt. There’s a (very) long history of Promises, Deferreds, and […]

Use-Case Zero

Some weeks back I lobbed an overly terse “noooooooooo!!!!!” at the W3C Web Application Security Working Group over revisions to the CSP 1.1 API; specifically a proposed reduction of the surface area to include only bits for which they could think of direct use-cases in a face-to-face meeting. At the time I didn’t have the […]

For Dave and David

Dave Herman jokingly accused me a couple of TC39 meetings ago of being an “advocate for JavaScript as we have it today”, and while he meant it in jest, I guess to an extent it’s true — I’m certainly not interested in solutions to problems I can’t observe in the wild. That tends to scope […]