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.
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.