Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: How to replace a class? Date: Fri, 11 Nov 2016 12:37:08 +0100 Organization: PointedEars Software (PES) Lines: 39 Message-ID: <33637909.10thIPus4b@PointedEars.de> References: <5a64eafc-a7f3-44e2-88ce-fe388101ecba@googlegroups.com> <28c08bf8-fb92-4487-acd1-10f9ea445d16@googlegroups.com> <1844095.KlZ2vcFHjT@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 1478864229 13804 eJwFwYEBADAEA7CXUMw7Y/r/CUsCqTnHM9KDwTHaIFEcllEk3+tyKP3Knsaihoq+LtKzHycTEaw= (11 Nov 2016 11:37:09 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 11 Nov 2016 11:37:09 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwQcBwEAIBDBLBY4lh/H4l9BExcjGYWrQ05O3XwRALC3kifhms2JoCbuMPKpWD3rQtqmcS+NX4HYT/gE6DxUE Cancel-Lock: sha1:v+EFNFHTf3uYivlpiemlft2i2hQ= X-NNTP-Posting-Host: eJwNyEcBwEAIBEBNS0cOJfiXcJnnKBtsXExN9PQORdUE3DJXL000zgnqOWiRf2Wy9wvn1HgnrBEk Xref: csiph.com comp.lang.javascript:31686 John Harris wrote: > […] Thomas 'PointedEars' Lahn […] wrote: >> There are no pointers in these languages (except in the low-level >> implementation). The proper term is _reference_. > > Unfortunately, ECMA 262 uses 'reference' with several different > meanings. ECMA-262 is irrelevant in that regard. This is a term borrowed from Java, which JavaScript was designed to resemble, and therefore applicable to all ECMAScript implementations; a term that is used in various object-oriented programming languages (including those that are not implementations of ECMAScript). “Reference” is to be understood as “reference to an object”. For in those languages there can be multiple properties referring to the same object, all having the same value – a reference to that object –, and that object can be marked for garbage collection if there are no more references to it. > The only use of the word with Thomas's meaning is in > informal (non-normative) sections and notes. The formal meaning is > defined in Section 6.2.3. It is a rather complicated kind of pointer > to a property; it is NOT the *value* of the property. Utter nonsense. > Therefore > "The proper term is _reference_." > should be changed to > "The proper term is _reference_ (informal meaning)." No, it should not. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.