Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28970

Re: Multidimensional arrays in javascript

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
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> (permalink)
References <cbd3e2fa-ab38-4650-a9f7-3c8b3edd204a@googlegroups.com> <XnsA56572C881A5eejj99@194.109.6.166> <cf32beb8-d323-49d8-954b-6fc1c2083bbd@googlegroups.com> <XnsA565BB1C74E9Beejj99@194.109.6.166> <aa06a2ac-6b91-4d41-9eea-e45b82ea6a28@googlegroups.com> <XnsA565C998D23DCeejj99@194.109.6.166> <09bd2043-74da-46b5-87ea-11e248847c36@googlegroups.com> <m6r26b57dgn0ak2v989taq0ekihsgium91@4ax.com> <7436839.Us7gLa2v5a@PointedEars.de> <lqe36b5inmfg7u10odgkul7drtc1ku3ju2@4ax.com>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
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

Show key headers only | View raw


John Harris wrote:

> On Fri, 04 Dec 2015 13:37:35 +0100, Thomas 'PointedEars' Lahn
> <PointedEars@web.de> 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.

>   <snip>
>> 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: <http://www.interhack.net/pubs/munging-harmful/>

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-02 14:31 -0800
  Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-02 14:47 -0800
  Re: Multidimensional arrays in javascript "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-12-02 14:50 -0800
  Re: Multidimensional arrays in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-12-03 00:42 +0100
    Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-02 18:03 -0800
    Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-03 09:04 -0800
      Re: Multidimensional arrays in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-12-03 18:23 +0100
        Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-03 09:48 -0800
          Re: Multidimensional arrays in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-12-03 19:49 +0100
            Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-03 11:17 -0800
              Re: Multidimensional arrays in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-12-03 20:26 +0100
                Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-03 11:32 -0800
                Re: Multidimensional arrays in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-12-03 20:37 +0100
              Re: Multidimensional arrays in javascript John Harris <niam@jghnorth.org.uk.invalid> - 2015-12-04 10:38 +0000
                Re: Multidimensional arrays in javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-04 13:37 +0100
                Re: Multidimensional arrays in javascript John Harris <niam@jghnorth.org.uk.invalid> - 2015-12-04 16:14 +0000
                Re: Multidimensional arrays in javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-04 18:10 +0100
                Re: Multidimensional arrays in javascript Tim Streater <timstreater@greenbee.net> - 2015-12-04 18:52 +0000
                Re: Multidimensional arrays in javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-04 20:07 +0100
                Re: Multidimensional arrays in javascript John Harris <niam@jghnorth.org.uk.invalid> - 2015-12-06 14:47 +0000
                Re: Multidimensional arrays in javascript John Harris <niam@jghnorth.org.uk.invalid> - 2015-12-06 16:11 +0000
                Re: Multidimensional arrays in javascript Andrew Poulos <ap_prog@hotmail.com> - 2015-12-07 06:54 +1100
                Re: Multidimensional arrays in javascript "danca (Daniele Campagna)" <cyberdanny@tiscalinet.it> - 2015-12-06 22:43 +0100
                Re: Multidimensional arrays in javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-06 23:19 +0100
                Re: Multidimensional arrays in javascript John Harris <niam@jghnorth.org.uk.invalid> - 2015-12-08 11:16 +0000
                Re: Multidimensional arrays in javascript Aleksandro <aleksandro@gmx.com> - 2015-12-04 11:55 -0300
                Re: Multidimensional arrays in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-12-04 17:26 +0100
                Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-04 09:23 -0800
            Re: Multidimensional arrays in javascript Stefan Weiss <krewecherl@gmail.com> - 2015-12-03 20:29 +0100
              Re: Multidimensional arrays in javascript Gene Wirchenko <genew@telus.net> - 2015-12-03 13:23 -0800
        Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-03 10:06 -0800
          Re: Multidimensional arrays in javascript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-12-03 20:21 +0100
        Re: Multidimensional arrays in javascript Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-03 21:00 +0100
  Re: Multidimensional arrays in javascript "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-12-02 16:50 -0800
    Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-03 07:10 -0800
      Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-03 07:23 -0800
    Re: Multidimensional arrays in javascript jonas.thornvall@gmail.com - 2015-12-03 07:15 -0800

csiph-web