Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: null and NaN Date: Wed, 10 Jun 2015 20:48:45 +0200 Organization: PointedEars Software (PES) Lines: 43 Message-ID: <6931424.mSP66HsXnD@PointedEars.de> References: <1887823.QYRqh1XSJF@PointedEars.de> <6583706.BrqscuLzCi@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1433962298 12115 eJwFwQERADEIAzBLTzcKlcNz4F/CEj80dlw6r69vSaVAjp36065ytU6i0QZPbDTSRM58VfMADYoQug== (10 Jun 2015 18:51:38 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 10 Jun 2015 18:51:38 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYkBwEAEBMCWvOuUg9B/CZlxBWPC4DA/P1TvonW0+t3k0CxHyKowFcJU+7trJrJOaJpgLsFL8uqzH3E1FbI= Cancel-Lock: sha1:TU7RtQ7bm0iF2Z+0i9FmLDUi7eo= X-NNTP-Posting-Host: eJwFwYEBgDAIA7CXpNIyzwEG/59gwlemDhflXG59/mTnWugmDpOlc3PagI5tjCCbRE1tUz8wxxIR Mail-Copies-To: usenet@PointedEars.de Xref: csiph.com comp.lang.javascript:28075 Joao Rodrigues wrote: > typeof null == "object" was considered a bug by Brendan Eich - the > father of JavaScript: > > "We have reason to believe typeof null === “object” *is a bug* that > could bite real content, from our spidering of the web. We have no such > evidence in favor of breaking typeof String === “function”, and plenty > of reason to fear incompatibility. It might be best to leave typeof > utterly alone and deprecate it, *but I’m still in favor of the null > bug-fix*. > > — Brendan Eich 2006/03/31 16:34" > > 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. >>>> However, that the ECMAScript Language Specification [3] […] says: >>>> […] >>>> indicates that it is _not_ a bug. “null” *has* something to do with >>>> objects that other primitive values have not. >>> These references only prove that JS was prematurely standardized, making >>> necessary corrections more difficult to be implemented. >> Assumption, not evidence. > > Evidence proven at: […] Evidence is not proven, but presented. “Evidence” is synonymous with “proof; so “to prove evidence” contains redundancy, at best. You should improve your understanding of English; that way the number of your misconceptions – about what people said and wrote, and what they meant when they said and wrote it – might decrease. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.