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


Groups > comp.lang.javascript > #29098

Re: array-like objects

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Aleksandro <aleksandro@gmx.com>
Newsgroups comp.lang.javascript
Subject Re: array-like objects
Date Fri, 1 Jan 2016 22:19:05 -0300
Organization A noiseless patient Spider
Lines 22
Message-ID <n678dd$9a0$1@dont-email.me> (permalink)
References <array-like-20160101185345@ram.dialup.fu-berlin.de> <n66gli$lpt$2@dont-email.me> <1656357.Svvq5yUOXB@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
Injection-Date Sat, 2 Jan 2016 01:16:29 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="3bb0fced1de70649df863026b02cdb5f"; logging-data="9536"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18c8daAR1diYeGcZ+FKTeoh9QYKsX/5OT8="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To <1656357.Svvq5yUOXB@PointedEars.de>
Cancel-Lock sha1:IKtkMdiibBQGN6SMXcRata/YSzk=
Xref csiph.com comp.lang.javascript:29098

Show key headers only | View raw


On 01/01/16 21:30, Thomas 'PointedEars' Lahn wrote:
> Aleksandro wrote:
> ^^^^^^^^^^
> Your last name belongs there as well.
> 
>> On 01/01/16 15:11, Stefan Ram wrote:
>>>   So, the only thing we require for an object to be »array-like«
>>>   is a length property with an appropriate value?
>>
>> Sounds reasonable as Javascript is considered a duck typed language.
>> https://en.wikipedia.org/wiki/Duck_typing
> 
> There is no “Javascript”.

Just for the record, what group are we in?

> _ECMAScript implementations_ are _not_ “duck typed language[s]”; instead, 
> most of them support dynamic type-checking (often misnamed “loose typing”).
> 
> “Duck typing” is a programming technique instead that can be used with 
> programming languages that support dynamic type-checking, but also with 
> other programming languages.

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


Thread

Re: array-like objects Aleksandro <aleksandro@gmx.com> - 2016-01-01 15:33 -0300
  Re: array-like objects Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-02 01:30 +0100
    Re: array-like objects Aleksandro <aleksandro@gmx.com> - 2016-01-01 22:19 -0300
      Re: array-like objects Tim Streater <timstreater@greenbee.net> - 2016-01-02 08:29 +0000
      Re: array-like objects Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-02 10:46 +0100

csiph-web