Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <46552711.rDEV7hVj5r@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Wed, 10 Oct 2012 20:09 +0200 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <1391239.xtCtL9uci3@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 39 NNTP-Posting-Date: 10 Oct 2012 20:09:01 CEST NNTP-Posting-Host: 766550c5.newsspool4.arcor-online.net X-Trace: DXC=Go14agAE5fA2jYf>V4L0gL4IUKK@40i@2K255TKl^kJ]_n2f4G X-Complaints-To: usenet-abuse@arcor.de Path: csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Xref: csiph.com comp.lang.javascript:16540 Patricia Shanahan wrote: > Thomas 'PointedEars' Lahn wrote: >> Patricia Shanahan wrote: >>> [An object] could be implemented using a combined doubly linked list and >>> hash table, similar to Java's LinkedHashMap. Append each new entry to >>> the linked list, use the hash map to find entries, and update the linked >>> list when an item is removed. The linked list is used to iterate in >>> order of appearance. >>> >>> However, JavaScript has a fairly complicated scope structure. >> >> First of all, JavaScript is an implementation of ECMAScript. One of >> many. And ECMAScript gives its conforming implementations a wide >> latitude. Ascribing features of the standard to the implementation of the >> standard and vice-versa is the first capital beginner's mistake in this >> field: >> >> > > While technically correct, this seems perhaps just a shade pedantic. Yes, it only seems to be so. But apparently it takes years of experience to see that. > For example, most of the books that have been mentioned favorably in > this thread include the same beginner mistake in their titles. So what? I cannot recommend any of those books for that and other reasons either. That something is in a book does not mean it is correct or any good. Books need to *sell*. PointedEars -- Sometimes, what you learn is wrong. If those wrong ideas are close to the root of the knowledge tree you build on a particular subject, pruning the bad branches can sometimes cause the whole tree to collapse. -- Mike Duffy in cljs,