Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29652
| Path | csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: (Sort of) newbie trying to understand "array.length" |
| Date | Mon, 22 Feb 2016 12:23:41 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 21 |
| Message-ID | <8760xhylv6.fsf@bsb.me.uk> (permalink) |
| References | <b99c7479-d78d-4e99-b6e7-c3e6d2010e6c@googlegroups.com> <array-20160221194511@ram.dialup.fu-berlin.de> <dot-notation-20160222025430@ram.dialup.fu-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="32551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183jf274zc6Viuur0o/ZhoEPMNVWHWCE7k=" |
| Cancel-Lock | sha1:9rroC1cXvA4lEDCoLSQuZ6aNGOs= sha1:SwFMvEA3+ELrKJ3h4baO/Ix8PH0= |
| X-BSB-Auth | 1.3fad87bc841e939e1b4b.20160222122341GMT.8760xhylv6.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:29652 |
Show key headers only | View raw
ram@zedat.fu-berlin.de (Stefan Ram) writes: <snip> > Critics of the dot notation say that »attribute( pointer )« > aligns better with mathematical notation because »attribute« > usually is a fixed name, while »pointer« can vary. > > However, in »o.f( x, y )«, it is made clear that the > late-binding (run-time polymorphism) only happens with > respect to »o«, not to the other arguments. > > Some languages, such as Smalltalk or Lisp, do not use dot > notation. IIRC, Smalltalk does not have multi-methods, > while CLOS might have them. For multimethods, »f( o, x, y )« > might better agree with the semantics. The obvious extension of the attribute(pointer) syntax the a method call would be f(o)(x, y) which looks fine to me. (Not that I mind the dot notation either.) -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
(Sort of) newbie trying to understand "array.length" bit-naughty@hotmail.com - 2016-02-21 09:51 -0800
Re: (Sort of) newbie trying to understand "array.length" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-21 23:48 +0100
Re: (Sort of) newbie trying to understand "array.length" Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-25 06:24 -0800
Re: (Sort of) newbie trying to understand "array.length" John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-22 11:03 +0000
Re: (Sort of) newbie trying to understand "array.length" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-02-22 12:23 +0000
Re: (Sort of) newbie trying to understand "array.length" Aleksandro <aleksandro@gmx.com> - 2016-02-22 11:57 -0300
Re: (Sort of) newbie trying to understand "array.length" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-22 21:19 +0100
Re: (Sort of) newbie trying to understand "array.length" "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-02-23 11:22 +0100
Re: (Sort of) newbie trying to understand "array.length" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-23 20:50 +0100
Re: (Sort of) newbie trying to understand "array.length" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-23 11:20 +0100
csiph-web