Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29633
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Can someone tell if this is javascript or else (jquery)? |
| Date | 2016-02-18 23:36 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <41600258.7XRYZQJaTB@PointedEars.de> (permalink) |
| References | (6 earlier) <7b17cbplm9lhdtdklbg8tfemji6qvvjnkn@4ax.com> <arWdnbAtj_S9Gl7LnZ2dnUU7-XednZ2d@westnet.com.au> <kb59cbhl88hjnbh1idv954rgosroa0uhgv@4ax.com> <class-20160217234035@ram.dialup.fu-berlin.de> <oe-dnW3cE66aHFjLnZ2dnUU7-QWdnZ2d@westnet.com.au> |
Andrew Poulos wrote: > On 18/02/2016 9:42 AM, Stefan Ram wrote: >> John Harris <niam@jghnorth.org.uk.invalid> writes: >>> On Wed, 17 Feb 2016 07:31:34 +1100, Andrew Poulos >>>> As this is programming, wouldn't it be more accurate to call it a set >>>> because a class is "... a template definition of the method s and >>>> variable s in a particular kind of object"? >>> In programming I prefer to think of a class as a collection of objects >>> that have something in common. The something in common is defined in >>> the class declaration or equivalent. Calling that a template is a bit >>> over the top. >> >> What Andrew quoted obviously does not make sense. > > By that as it may, but a few websites disagree with your conclusion. For > example > <http://codetpoint.com/java/java-oops-concept/> I would not put too much stock in that resource, though. It also says in that very definition of “class”: | […] Thus, an object is a specific instance of a class; So far, so good. However, it should be noted that a class *is* an object itself in Java (and several other OOPLs). And it continues: | it contains real values instead of variables. Which is nonsense, especially regarding Java (which that site claims to describe properly). In Java, classes have _members_; members which are not methods are _fields_ which *can* have (initial) values; they are only also called “class variables” if they are declared static (i.e., not inherited to instances). Besides, that resource is only describing *class-based* OOP, and, as it is unfortunately so often the case, its author(s) apparently assume(s) that this is the only kind of OOP. However, in particular, most of the used ECMAScript implementations only have built-in support for *prototype-based* OOP; AFAIK, built-in support for class-based OOP can only be found in JScript .NET and ActionScript 2+ as implementations of the abandoned ECMAScript Ed. 4 draft, and implementations of ECMAScript 2015 such as Microsoft TypeScript and newer versions of Google V8. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-14 14:49 -0800
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-15 00:05 +0100
Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-14 15:26 -0800
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-15 01:22 +0100
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-15 20:00 +0100
Re: Can someone tell if this is javascript or else (jquery)? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-15 05:41 -0800
Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-15 16:59 -0800
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 04:20 +0100
Re: Can someone tell if this is javascript or else (jquery)? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-15 22:18 -0800
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-16 08:36 +0100
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 11:45 +0100
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-16 20:23 +0100
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-16 20:24 +0000
Re: Can someone tell if this is javascript or else (jquery)? Andrew Poulos <ap_prog@hotmail.com> - 2016-02-17 07:31 +1100
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-17 15:57 +0100
Re: Can someone tell if this is javascript or else (jquery)? Tim Streater <timstreater@greenbee.net> - 2016-02-17 15:09 +0000
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-17 16:09 +0000
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-17 15:45 +0000
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-18 00:09 +0100
Re: Can someone tell if this is javascript or else (jquery)? Andrew Poulos <ap_prog@hotmail.com> - 2016-02-18 19:29 +1100
Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-18 23:36 +0100
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-19 10:51 +0000
Re: Can someone tell if this is javascript or else (jquery)? Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-19 09:01 -0800
Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-18 15:10 +0000
Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 23:56 +0100
Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-17 04:46 -0800
csiph-web