Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29095 > unrolled thread
| Started by | Aleksandro <aleksandro@gmx.com> |
|---|---|
| First post | 2016-01-01 15:33 -0300 |
| Last post | 2016-01-02 10:46 +0100 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.lang.javascript
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Date | 2016-01-01 15:33 -0300 |
| Subject | Re: array-like objects |
| Message-ID | <n66gli$lpt$2@dont-email.me> |
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
[toc] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-01-02 01:30 +0100 |
| Message-ID | <1656357.Svvq5yUOXB@PointedEars.de> |
| In reply to | #29095 |
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”. _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. -- 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.0
[toc] | [prev] | [next] | [standalone]
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Date | 2016-01-01 22:19 -0300 |
| Message-ID | <n678dd$9a0$1@dont-email.me> |
| In reply to | #29096 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Tim Streater <timstreater@greenbee.net> |
|---|---|
| Date | 2016-01-02 08:29 +0000 |
| Message-ID | <020120160829203905%timstreater@greenbee.net> |
| In reply to | #29098 |
In article <n678dd$9a0$1@dont-email.me>, Aleksandro <aleksandro@gmx.com> wrote: >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? We're in the javascript group. PointyHead is just being an arsehole as usual. -- "If you're not able to ask questions and deal with the answers without feeling that someone has called your intelligence or competence into question, don't ask questions on Usenet where the answers won't be carefully tailored to avoid tripping your hair-trigger insecurities." - D M Procida, UCSM
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-01-02 10:46 +0100 |
| Message-ID | <11712310.bcdK71HILb@PointedEars.de> |
| In reply to | #29098 |
Aleksandro wrote: ^^^^^^^^^^ Which part of “last name” did you not understand? > 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? comp.lang.javascript. That does not mean anything, if you cared to read. -- 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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web