Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36677
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2019-05-30 10:34 -0700 |
| References | (3 earlier) <84fe9111-5bab-4537-8d08-424ec56763d7@googlegroups.com> <87h89elg1u.fsf@bsb.me.uk> <5255243.DvuYhMxLoT@PointedEars.de> <64cfc046-b450-4917-be7b-3836c1cab999@googlegroups.com> <qco89m$cjq$1@csiph.com> |
| Message-ID | <e04660e5-fb70-40a6-a1cd-68bfa58460fa@googlegroups.com> (permalink) |
| Subject | Re: Create array using name from string? |
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
Cezary Tomczyk wrote: > On 29/05/2019 19:24, Julio Di Egidio wrote: > > On Wednesday, 29 May 2019 00:22:33 UTC+2, Thomas 'PointedEars' Lahn wrote: > > > >> (Unfortunately, regarding his code style Dr. Stockton > >> appears to be stuck the world of Borland Pascal where such distinctions > >> need not be made because it is not an OOPL in the first place.) > > > > What a nonsensical statement: all the more so since JS is essentially > > NOT an OO language... > > What is then OO definition? The generally accepted definition of OOP is described by Benjamin Pierce in TAPL [1][2]. Namely: 1. Multiple representations: The object dictates what code is executed, often at runtime using dynamic dispatch 2. Encapsulation: Hiding of internal representation and providing a limited interface for access. 3. Subtyping: Interface sharing 4. Inheritance: Implementation sharing of shared interfaces. Generally done through classes or delegation 5. Open recursion: The ability of a method to refer to other methods of itself before/after they are defined. (keyword 'this' in JS, 'self' in Python, 'my' in Perl, etc.) So JavaScript is "Object-Oriented" because it has a set of features in common with the definition of being Object Oriented. [1] <https://www.cis.upenn.edu/~bcpierce/tapl/> [2] See Chapter 18.1 <http://port70.net/~nsz/articles/book/pierce_types_and_programming_languages_2002.pdf>
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-28 02:06 -0700
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-28 02:11 -0700
Re: Create array using name from string? "R.Wieser" <address@not.available> - 2019-05-28 11:39 +0200
Re: Create array using name from string? "R.Wieser" <address@not.available> - 2019-05-28 12:02 +0200
Re: Create array using name from string? dr.j.r.stockton@gmail.com - 2019-05-28 05:38 -0700
Re: Create array using name from string? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-05-28 17:06 +0100
Re: Create array using name from string? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-05-29 00:22 +0200
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-29 00:07 -0700
Re: Create array using name from string? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-05-29 09:47 +0200
Re: Create array using name from string? Julio Di Egidio <julio@diegidio.name> - 2019-05-29 10:10 -0700
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-30 11:10 -0700
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-30 11:12 -0700
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-30 11:22 -0700
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-30 11:28 -0700
Re: Create array using name from string? Julio Di Egidio <julio@diegidio.name> - 2019-05-29 10:24 -0700
Re: Create array using name from string? Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2019-05-30 11:37 +0200
Re: Create array using name from string? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-05-30 12:35 +0200
Re: Create array using name from string? Julio Di Egidio <julio@diegidio.name> - 2019-05-30 03:43 -0700
Re: Create array using name from string? Julio Di Egidio <julio@diegidio.name> - 2019-05-30 03:48 -0700
Re: Create array using name from string? Gene Wirchenko <genew@telus.net> - 2019-05-30 12:13 -0700
Re: Create array using name from string? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-05-30 10:34 -0700
Re: Create array using name from string? John G Harris <niam@jghnorth.org.uk.invalid> - 2019-05-31 19:01 +0100
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-31 11:21 -0700
Re: Create array using name from string? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-06-01 00:31 +0200
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-06-01 00:40 -0700
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-06-01 01:10 -0700
Re: Create array using name from string? John G Harris <niam@jghnorth.org.uk.invalid> - 2019-06-01 10:14 +0100
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-29 00:15 -0700
Re: Create array using name from string? "R.Wieser" <address@not.available> - 2019-05-29 09:35 +0200
Re: Create array using name from string? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-05-29 01:16 -0700
csiph-web