Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1787296.I8a1CPdyJA@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Thu, 24 Nov 2011 22:31:32 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit Subject: Re: Read url into a string? Newsgroups: comp.lang.javascript References: <2567734.rclGbaif12@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 35 NNTP-Posting-Date: 24 Nov 2011 22:31:32 CET NNTP-Posting-Host: 53875022.newsspool1.arcor-online.net X-Trace: DXC=2bCj3Hm:7E;kUFX=Y?aLP;ic==]BZ:af>4Fo<]lROoR1<`=YMgDjhg29oB1OC=45T9AAbEe Thomas 'PointedEars' Lahn wrote: >> The flaws of this code are many: >> >> - Bogus XHR() feature test >> - Missing XMLHTTP selection >> - Missing non-XHR()-non-MSXML branch >> - Unnecessary synchronous request blocking the client window/tab >> - Missing status check >> - Insufficient code style > >> PointedEars > > Thanks, pointy :) That form of address is reserved for closer acquaintances. > […] > Now that we're at it, can you help me grow and explain the things I left > quoted? Yes. > I understand some of it, but I'd like to hear more. PointedEars -- Prototype.js was written by people who don't know javascript for people who don't know javascript. People who don't know javascript are not the best source of advice on designing systems that use javascript. -- Richard Cornford, cljs,