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


Groups > comp.lang.javascript > #33307

Re: Overriding function and adding a bit

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.javascript
Subject Re: Overriding function and adding a bit
Date 2017-05-13 20:55 +0100
Organization A noiseless patient Spider
Message-ID <878tm0edlc.fsf@bsb.me.uk> (permalink)
References (9 earlier) <i33ehchjsvk1mkaja9tnf1njj5g2nncqv4@4ax.com> <f929791c-3e67-40af-a56e-d79722abd193@googlegroups.com> <877f1kg4mz.fsf@bsb.me.uk> <579d836f-190f-488b-859a-2d1320aa8242@googlegroups.com> <of7abv$1h6k$1@csiph.com>

Show all headers | View raw


Cezary Tomczyk <cezary.tomczyk@gmail.com> writes:

> On 13/05/2017 17:30, Julio Di Egidio wrote:
>> On Saturday, May 13, 2017 at 5:26:01 PM UTC+2, Ben Bacarisse wrote:
>>> Julio Di Egidio <julio@diegidio.name> writes:
>>>
>>>> On Saturday, May 13, 2017 at 3:39:44 PM UTC+2, John G Harris wrote:
>>>>> On Fri, 12 May 2017 17:28:02 -0700 (PDT), Julio Di Egidio
>>>>> <julio@diegidio.name> wrote:
>>>>>
>>>>>> to suggest OO patterns to architect JS code is simple
>>>>>> an utter mistake, that you propose so or that some vendors now are
>>>>>> proposing so...
>>>>>
>>>>> Are you saying ECMAScript programs can't or shouldn't implement an OO
>>>>> design? If so, how do you justify your belief?
>>>>
>>>> You may have beliefs, I am a software professional and that (what I said,
>>>> not how you rephrase it) is just the A in the ABC of JavaScript.
>>>
>>> ECMAScript uses prototype-based inheritance rather than class-based
>>> inheritance but that does not mean it is not and object-oriented
>>> language not that one should not write object-oriented programs using
>>> it.
>>
>> Yes it does: *at least* read Crockford before you open your mouth again,
>> you *apparently* don't know what you are talking about.
>
> I think you are judging people too fast. I suggest to meet someone a
> bit more closely before write such a statement.

I doubt he means it.  He often flies off the handle.

Anyway, I've read Crockford and he also describes JavaScript (that's the
term he uses) as an object oriented language.

There can be no reasonable doubt that ECMAScript is an object-oriented
language (the language definition says so, as does Crockford -- Julio Di
Egidio's preferred authority) but there *are* very significant
differences between class-based and prototype-based inheritance (which
Crockford discusses of course) which we could have a productive
discussion about.

If Julio Di Egidio would actually engage in the debate, we might find
out what he was getting at with the remark that started this subthread.

Oh well...  that's Usenet.

-- 
Ben.

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


Thread

Overriding function and adding a bit Andrew Poulos <ap_prog@hotmail.com> - 2017-05-10 11:59 +1000
  Re: Overriding function and adding a bit Doc O'Leary  <droleary@2017usenet1.subsume.com> - 2017-05-10 15:33 +0000
    Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-10 19:14 +0200
      Re: Overriding function and adding a bit Doc O'Leary  <droleary@2017usenet1.subsume.com> - 2017-05-10 22:57 +0000
        Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-11 01:49 +0200
          Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-11 17:03 +0200
            Re: Overriding function and adding a bit Andrew Poulos <ap_prog@hotmail.com> - 2017-05-12 08:32 +1000
              Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-12 22:12 +0200
            Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-12 03:13 +0200
          Re: Overriding function and adding a bit John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-11 16:33 +0100
            Re: Overriding function and adding a bit Tim Streater <timstreater@greenbee.net> - 2017-05-11 18:54 +0100
          Re: Overriding function and adding a bit Doc O'Leary  <droleary@2017usenet1.subsume.com> - 2017-05-11 22:02 +0000
            Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-12 01:53 +0200
              Re: Overriding function and adding a bit John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-12 10:05 +0100
              Re: Overriding function and adding a bit Doc O'Leary  <droleary@2017usenet1.subsume.com> - 2017-05-12 21:43 +0000
                Re: Overriding function and adding a bit Tim Streater <timstreater@greenbee.net> - 2017-05-12 23:03 +0100
                Re: Overriding function and adding a bit Julio Di Egidio <julio@diegidio.name> - 2017-05-12 17:28 -0700
                Re: Overriding function and adding a bit John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-13 14:39 +0100
                Re: Overriding function and adding a bit Julio Di Egidio <julio@diegidio.name> - 2017-05-13 07:17 -0700
                Re: Overriding function and adding a bit Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-13 16:25 +0100
                Re: Overriding function and adding a bit Julio Di Egidio <julio@diegidio.name> - 2017-05-13 08:30 -0700
                Re: Overriding function and adding a bit Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2017-05-13 17:56 +0200
                Re: Overriding function and adding a bit Julio Di Egidio <julio@diegidio.name> - 2017-05-13 09:04 -0700
                Re: Overriding function and adding a bit Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-13 20:55 +0100
                Re: Overriding function and adding a bit Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-14 00:00 +0100
                Re: Overriding function and adding a bit Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-14 03:07 +0100
                Re: Overriding function and adding a bit Julio Di Egidio <julio@diegidio.name> - 2017-05-13 18:39 -0700
                Re: Overriding function and adding a bit John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-14 11:23 +0100
                Re: Overriding function and adding a bit John G Harris <niam@jghnorth.org.uk.invalid> - 2017-05-14 11:36 +0100
                Re: Overriding function and adding a bit Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-14 12:34 +0100
                Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-14 14:11 +0200
                Re: Overriding function and adding a bit Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-05-14 15:37 +0100
                Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-14 17:16 +0200
                Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-14 15:40 +0200
          Re: Overriding function and adding a bit Gene Wirchenko <genew@telus.net> - 2017-05-11 15:39 -0700
        Re: Overriding function and adding a bit Tim Streater <timstreater@greenbee.net> - 2017-05-11 10:39 +0100
    Re: Overriding function and adding a bit Julio Di Egidio <julio@diegidio.name> - 2017-05-11 10:05 -0700
  Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-10 19:13 +0200
    Re: Overriding function and adding a bit Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-10 19:22 +0200
    Re: Overriding function and adding a bit Julio Di Egidio <julio@diegidio.name> - 2017-05-11 10:08 -0700
  Re: Overriding function and adding a bit Julio Di Egidio <julio@diegidio.name> - 2017-05-11 09:56 -0700

csiph-web