Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Multidimensional arrays in javascript Date: Fri, 04 Dec 2015 18:10:06 +0100 Organization: PointedEars Software (PES) Lines: 84 Message-ID: <4267376.NJ5XMC3WOf@PointedEars.de> References: <09bd2043-74da-46b5-87ea-11e248847c36@googlegroups.com> <7436839.Us7gLa2v5a@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1449249007 26800 eJwNw4ENwDAIA7CXWghJdw5j8P8JnSWHc7MEBhETk/+ummUL9sgyEWcghIpb+ojitNx1+q2+IrkRRQ== (4 Dec 2015 17:10:07 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 4 Dec 2015 17:10:07 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYEBwDAEBMCVEP9hHBX2H6F3OFT2dYKOxUZGEWj3YfVRyojNHWY/435jp1vbntmV0FyuhlStp0rCf0pcFQU= Cancel-Lock: sha1:7wc+FfSX3wnuHcFWbqTOtN8sUsM= X-NNTP-Posting-Host: eJwFwQkBACAIBLBKyPHGEZD+EdwUdqxdTE10daGXXbyLb1Yn1t9QagXFgPE6KBOIszEcjA8XIxCC Xref: csiph.com comp.lang.javascript:28970 John Harris wrote: > On Fri, 04 Dec 2015 13:37:35 +0100, Thomas 'PointedEars' Lahn > wrote: Attribution *line*, _not_ attribution novel. >> John Harris wrote: >>> Up to and including ECMAScript version 5.1 the answer is no : there is >>> no such thing as a typed array. >>> >>> In ECMAScript version 6 there are typed array objects of various >>> types. >> There are no ECMAScript versions. To assume there were betrays a >> fundamental misconception about ECMAScript-based programming languages. > > The ECMAScript standard uses "edition"; the Unicode standards it > references use "version". Red herring. The terminology in the Unicode standard is irrelevant in that regard. > […] > When talking to Jonas Thornvall we need to use words that he > understands. I might have guessed wrong; you, Thomas, don't even try. I just do not agree with your approach. Communicating with people as if they were not intelligent keeps them ignorant and dependent. By contrast, I always assume that I address intelligent people who want to learn and to understand what they are doing. So I strive to use proper terminology to begin with. > >> Also, typed arrays had already been available in several implementations >> before ECMAScript 2015/Edition 6 was finalized, voted on, and published; >> those were implementations of the 5.1 Edition, and earlier, at the time. > > Available in all the browsers used by his preferred audience? I do not know the browsers used by his preferred audience: His postings appear to have not been distributed to the public news server that I am using, the quotations of his posting do not contain that information, and looking up his posting now would be illogical as I had killfiled him before. >> The record shows that new Editions of the ECMAScript Language >> Specification always codified already implemented behavior, attempting to >> specify common features in existing implementations, and, by specifying >> them differently or not at all, deprecating features in and behavior of >> existing implementations that were unanimously considered unfavorable >> within the Ecma Technical Committee (TC) 39. >> See also the ECMAScript Support Matrix (“ES Matrix”) referenced in my >> signature. > > How does this help with old browsers that haven't been or can't be > updated? The dynamic nature of the languages allow for new features that are not built-in to be emulated. That being said, one must consider carefully whether it really is a good idea to jump through hoops for browsers that do not receive security updates anymore. > Why tell customers that they *must* use a new browser? See above. But I have not suggested to do that. Instead, I had presented an approach recently that works even without native support for typed arrays. And where Proxy is not available as well, typed arrays still can be emulated with explicit method calls, whereas a wrapper type can be devised and used that falls back to those in that case. (The implementation of the latter is left as an exercise to the reader.) JFYI: Since the “From” header field value of your postings, too, constitutes anti-social behavior, I have restored the corresponding filter rule to my scorefile which had been accidentally reset recently. IOW, your follow-ups to my postings will neither be displayed by default, nor will I be notified of them, until you fix this. See also: -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.