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


Groups > comp.lang.javascript > #29856

Re: Refer object within itself

Newsgroups comp.lang.javascript
Subject Re: Refer object within itself
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References (15 earlier) <ac1be59e-d61f-4a36-9ab8-3216b0043ad7@googlegroups.com> <XnsA5C46D5A48D05eejj99@194.109.6.166> <3655f397-1fa2-4d4a-a36f-a1fa688e9461@googlegroups.com> <XnsA5C4E9E1D8DF7eejj99@194.109.6.166> <5fae0ca3-2b2b-4844-ac02-243db4e2f346@googlegroups.com>
Date 2016-03-08 10:24 +0100
Message-ID <XnsA5C569F0BA687eejj99@194.109.6.166> (permalink)

Show all headers | View raw


Scott Sauyet <scott.sauyet@gmail.com> wrote on 08 Mar 2016 in 
comp.lang.javascript:

> Evertjan wrote:
>> Scott Sauyet wrote:
>> 
>>>> while my opinion is different.
>>> 
>>> Do you really believe it necessary to apologize for every opinion
>>> stated on USENET with "IMHO"?
>> 
>> You still don't get it.
>> 
>> My opinion always is imho, 
>> others like you foolishly pretend otherwize.
> 
> No, that's not what I believe.

You are entitled tou your believes,
I believe in sound reasoning based on evidence.

> I simply don't think it's necessary
> or even helpful to plop "IMHO" everywhere when a discussion that
> is all about opinions is underway.

Well, "necessary" and "everywhere", like your "no one" and "the best way". 
so absolute!

> Now, back to the original problem.  Does your solution -- IYHO, if
> you like -- meet the requirements as per the original post?  I've
> already argued that it does not "reference to the object itself within
> the object," and therefore is disqualified. 

and now "disqualified", 
all reasoning stops where one party uses such absolute references.

> This seems crystal-clear to me. 

"crystal-clear" is not an argument.

> Obviously you can choose to argue that the requirement is
> nonsense, but do you agree with my assessment? 

As I wrote, I think the "getter" method is a nice method,
but can give way terrible errors perhaps at runtime a half year later.

Therefore I suggested to develop a naming convention, clearly distinguishing 
between "standard" value-properties of objects and "getter"-properties.

[Something like as there is now between properties and methods, the latter 
needing () behind the name]

*** A "getter" seems a method disguised as a property. ***

Perhaps that disguise is my main concern and I did not declare that earlier,
because I did not visualize it yet. 

That is [imho, sorry, yes, anyway] the importance of discussion: shaping of 
views and adapting with opposing views. For me, discussion has its own joy, 
independent of the merits of the result. Read the Talmut for such 
discussions.

> Or do you think that
> it does meet the original requirements?

I think the OP did not know what troubles lay ahead for him,
when the "getter-method" was introduced in the answer.

Whether he wanted a "static" or a "dynamic" value is not clear to me,
perhaps we should have given both answers for him to choose.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

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


Thread

Refer object within itself Andrew Poulos <ap_prog@hotmail.com> - 2016-02-26 22:50 +1100
  Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-26 04:51 -0800
    Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-26 14:15 +0100
  Re: Refer object within itself "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-02-26 16:43 +0100
    Re: Refer object within itself Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-26 19:25 +0100
  Re: Refer object within itself Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-26 19:23 +0100
  Refer object within itself Ram Tobolski <ramtob@gmail.com> - 2016-02-28 10:06 -0800
    Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-28 23:07 +0100
      Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-28 23:23 +0100
        Re: Refer object within itself Stefan Weiss <krewecherl@gmail.com> - 2016-02-29 00:11 +0100
        Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-02-29 14:49 -0300
          Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-29 19:49 +0100
            Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-03-01 10:48 -0300
              Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-01 17:22 +0100
                Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-03-01 15:07 -0300
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-01 20:26 +0100
                Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-03-04 21:53 -0300
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-05 14:22 +0100
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-05 10:17 -0800
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-06 11:59 +0100
                Re: Refer object within itself Ram Tobolski <ramtob@gmail.com> - 2016-03-06 10:48 -0800
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-06 19:07 -0800
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-07 10:44 +0100
                Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-03-07 12:54 -0300
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-07 17:59 +0100
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-07 13:44 -0800
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-07 22:59 +0100
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-07 17:00 -0800
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-08 10:24 +0100
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-08 13:03 -0800

csiph-web