OK, then are there objections to the async System.download(url,callback) ?
Le 06/07/2012 17:09, Russell Leggett a écrit :
On Fri, Jul 6, 2012 at 10:58 AM, Aymeric Vitte <[email protected]
<mailto:[email protected]>> wrote:
Do we have a survey of the use of sync against async ? I
think it would show that sync is much more used (wrongly or
easy way again, but...).
I completely disagree with this. Most developers without the
knowledge/skill to know why sync is bad are just going to use a
library like jQuery - which uses async. I'm not aware of any
major library that uses sync as a default for their ajax api or
uses sync in their own code.
- Russ
I am not refering to libraries but to developers/sites that indeed
are using libraries and then feel (usually wrongly) necessary to
extend it with unofficial/not good libraries or their own and then
add some stuff around that usually is sync, as far as I saw
debuging node-dom or looking at usual web sites
I'm not saying people don't do it, I was saying that the percentage is
likely far smaller than you claim. Perhaps I'm deluding myself.
Anyway, I don't think we should cater to something that is considered
bad practice. As Brendan has said, lets lead the horses away from the
rotting vegetables with better carrots.
- Russ
--
jCore
Email :[email protected] <mailto:[email protected]>
Web :www.jcore.fr <http://www.jcore.fr>
Webble :www.webble.it <http://www.webble.it>
Extract Widget Mobile :www.extractwidget.com <http://www.extractwidget.com>
BlimpMe! :www.blimpme.com <http://www.blimpme.com>
--
jCore
Email : [email protected]
Web : www.jcore.fr
Webble : www.webble.it
Extract Widget Mobile : www.extractwidget.com
BlimpMe! : www.blimpme.com
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss