Posted on February 12, 2009 by Andy SchefflerTweets for Today Thoughts in 140 characters 19:13 Asynchronous programming sucks. Especially in JavaScript. # Automatically shipped by LoudTwitter
How does it suck? It’s the classical cooperative model. Do you guys really want to be messing around with synchronization constructs in Javascript? Do you need help? I’m willing to talk about it if you do. Reply
“Ugh”? What’s wrong with AJAX? You get a library, and that’s pretty much that. It’s not a difficult thing. Reply
Nothing’s wrong with AJAX. It’s all of the other weird threads and objects and crap going on in the page that’s driving my crazy.
Yes. Yes it does.
How does it suck? It’s the classical cooperative model. Do you guys really want to be messing around with synchronization constructs in Javascript? Do you need help? I’m willing to talk about it if you do.
No, but I would rather subcontract out “Ajax programming” because, ugh.
“Ugh”? What’s wrong with AJAX? You get a library, and that’s pretty much that. It’s not a difficult thing.
Nothing’s wrong with AJAX. It’s all of the other weird threads and objects and crap going on in the page that’s driving my crazy.