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


Groups > comp.lang.javascript > #29098

Re: array-like objects

From Aleksandro <aleksandro@gmx.com>
Newsgroups comp.lang.javascript
Subject Re: array-like objects
Date 2016-01-01 22:19 -0300
Organization A noiseless patient Spider
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>

Show all headers | 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