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


Groups > comp.lang.javascript > #28085

Re: null and NaN

From Joao Rodrigues <groups_jr-1@yahoo.com.br>
Newsgroups comp.lang.javascript
Subject Re: null and NaN
Date 2015-06-11 11:34 -0300
Organization Aioe.org NNTP Server
Message-ID <mlc6a4$nr4$1@speranza.aioe.org> (permalink)
References (4 earlier) <6583706.BrqscuLzCi@PointedEars.de> <ml2r7v$7ni$1@speranza.aioe.org> <6931424.mSP66HsXnD@PointedEars.de> <mlc0s1$9tt$1@speranza.aioe.org> <mlc2d0$o3i$1@solani.org>

Show all headers | View raw


On 11/06/2015 10:28, Christoph M. Becker wrote:
> Joao Rodrigues wrote:
> 
>> Thomas Lahn wrote:
>>
>>> Much better.  Still _not_ an admission that it is an implementation bug 
>>> caused by the original JavaScript code as Dr. Rauschmeyer and you claimed, 
>>> and not a clear admission that it is a bug at all (“reason to believe”,
>>> not “is”).  But at least properly quoted and cited, and substantiated.
>>
>> It is still _not_ an admission that *you are wrong* and acting like a
>> fool trying to deceive everyone that typeof null === 'object' is not a
>> bug. Remember Brendan Eich, Douglas Crockford and others have said it is
>> more than once. Now shall we believe in Thomas Lahn or Brendan Eich?
> 
> Argument from authority.

No, it is not a fallacy because 'Argument from authority' happens when
appealing to the position of an authority or authorities to dismiss
evidence, and that is not the case.

Brendan Eich *created* JavaScript in May, 1995 while working at
Netscape, and he has been an active TC39 member in Ecma since 1996. As
such, he is the very authority here. Besides, it is a *fact*, not an
evidence, that Brendan Eich *recognized* publicly the typeof_null_bug [1].

[1] <http://wiki.ecmascript.org/doku.php?id=discussion:typeof>

Now Thomas Lahn has been blathering that there is no bug at all in
typeof null without evidence or references. Maybe Thomas has used his
Vulcan powers to psionically connect with Brandan's mind and has
discovered the whole thing and, therefore, Thomas is correct.

> 
>> If you had read carefully what Dr Rauschmeyer wrote [1], you'd realize
>> the bug in the C++ code that he posted. Besides, there is another
>> article that shows the same problem in the C++ code of Google's V8
>> implementation [2].
> 
> I haven't read the second article, but Dr. Rauschmeyer claims there is a
> bug without actual evidence.  The respective code could have been
> written this way deliberately.

The second article [2] shows that Google's V8 engine implementation had
to conform to the nonsense of typeof null === 'object', despite the fact
that null is a primitive value. In this case, there was not a bug in V8
code as it was done on purpose to comply with the ECMAScript Language
Specification, which BTW needed a fix according to Brendan's words [1].

[2] <http://kiro.me/blog/typeof_null.html>

-- 
Joao Rodrigues

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


Thread

Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-05 00:55 -0300
  Re: null and NaN Robert Heller <heller@deepsoft.com> - 2015-06-05 06:57 -0500
    Re: null and NaN Steven D'Aprano <steve@pearwood.info> - 2015-06-07 18:47 +1000
  Re: null and NaN Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-06 08:39 +0200
    Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-06 23:15 -0300
      Re: null and NaN Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-07 09:59 +0200
        Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-07 22:30 -0300
          Re: null and NaN Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-06-10 20:48 +0200
            Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-11 10:01 -0300
              Re: null and NaN "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-11 15:28 +0200
                Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-11 11:34 -0300
                Re: null and NaN "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-11 21:07 +0200
                Re: null and NaN Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-06-11 17:29 -0300
                Re: null and NaN "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-11 23:15 +0200

csiph-web