News for hackers. Stuff that matters.
Re:We need to kill off the localStorage API by ef4 on Tuesday February 28, 2012 @11:11AM (#3643623)
One unfortunate thing about localStorage is that if you start using it, and then decide to move instead to IndexDB (or WebSQL, or the Filesystem API), you need to jump the chasm from synchronous to asynchronous.

Which in Javascript always means a hefty rewrite, since there's no way to abstract out async vs sync.

It makes me long for call-with-current-continuation.

Re:We need to kill off the localStorage API by untog on Tuesday February 28, 2012 @11:24AM (#3643686)
It's not Javascript proper, but take a look at tame.js. Would make switching between sync and async very easy. Also, IcedCoffeeScript for the CS-ers.