Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32017
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: What I learned today |
| Date | 2016-12-29 04:32 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <3079828.iIbC2pHGDl@PointedEars.de> (permalink) |
| References | <JavaScript-20161229003655@ram.dialup.fu-berlin.de> |
Stefan Ram wrote:
> So, today, I worked a little bit on my JavaScript course
> again, and I learned this:
You "learned" some nonsense, again.
> - The "references" are in ECMAscript to describe what is
> happening when functions return values that can be
> assigned to ("references"), but this only is intended
> for host objects. Otherwise, JavaScript can be described
> with the concept of bindings (to names) alone.
Nonsense. It is perfectly OK for a function/method to return a reference to
a native object, and no names/identifiers are necessary to refer to it.
(function () {
"use strict";
var _foo = "baz";
return {
bar: function () { console.log(_foo); }
};
}()).bar();
References are _not_ "values that can be assigned to".
> - The term "DHTML" occurred in 1997 together with the
> generation »4« of Browsers, but it is unknown who
> coined the term. I was not able to locate when exactly
> (in 1996 or 1997) the term "DHTML" was first used.
> NN4 was released with "layers" in June of 1997 and
> IE4 without layers but with CSS scripting in October
> of 1997.
<https://github.com/PointedEars/JSX/blob/dbd87d81167ef03773a74791a2640a98a3a8d35f/dom.js#L7-L17>
<http://wayback.archive.org/web/20080505054830/http://msdn.microsoft.com/en-us/library/ms533050.aspx>
> - You already can show a lot of possibilities to script
> with essentially only two entries from a DOM:
> »getElementByID« and »innerHTML«,
_“getElementById”_ (case matters) and “innerHTML” are not "entries from a
DOM"; *the* DOM is a concept and an API. But they are properties of DOM
element objects, that which implement the (HTML)Element interface of the W3C
and WHATWG DOMs. Of those properties the “innerHTML” property is
proprietary, i.e. there is no public standard that specifies it or an
interface with an attribute of the same name.
> . To show simple forms of event processing, one only needs to use
> parameterless functions, even arrow functions will suffice. So one
> does not have to teach a lot of DOM entries and
> JavaScript features up front before one shows some DOM
> applications.
Not even wrong.
> (The first version of my course, first taught »pure
> JavaScript« /and then/ DOM applications. But the
> participants did not like the long delay before the
> first DOM applications where shown. The idea for the
> design of my course was that JavaScript today is
> independent of browsers, but the typical participant
> of my courses has never heard of Node.js.)
You have yet to learn that “JavaScript” reasonably can only refer to a
subset of ECMAScript implementations, namely those that carry the name.
IOW, it is not just one programming language that you are dealing with here,
not even if you limit yourself to Web browsers. (You have been told this
/ad nauseam/ already, but your record strongly indicates that you are too
full of yourself to reconsider any of your preconceptions when the flaws in
them are pointed out to you.)
Given your many misconceptions that you so readily display here, I still
seriously doubt that it is of advantage to take any of your courses (which,
JFTR, take place either online for free or in a *Volkshochschule* [German
adult education center], not in any institution of higher education) in the
first place. In fact, at this point I must recommend against taking them,
at least with regard to “JavaScript”. Students will be much better off
reading MDN articles, de.comp.lang.javascript, and this newsgroup instead.
--
PointedEars, shaking his head
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Re: What I learned today Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-29 04:32 +0100
Re: What I learned today Maik Koenig <usenetspam@maikkoenig.de> - 2016-12-29 21:20 +0100
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-12-29 21:45 +0100
Re: What I learned today Maik Koenig <usenetspam@maikkoenig.de> - 2017-01-04 03:52 +0100
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 10:48 +0100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-04 09:45 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 19:10 +0100
Re: What I learned today Andrew Poulos <ap_prog@hotmail.com> - 2016-12-30 19:12 +1100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2016-12-30 09:30 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-12-31 00:39 +0100
Re: What I learned today David Mark <dmark.cinsoft@gmail.com> - 2016-12-31 07:35 -0800
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-02 09:34 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-02 23:41 +0100
Re: What I learned today Scott Sauyet <scott@sauyet.com> - 2017-01-02 23:24 +0000
Re: What I learned today Andrew Poulos <ap_prog@hotmail.com> - 2017-01-03 15:58 +1100
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-03 11:44 +0100
Re: What I learned today Scott Sauyet <scott@sauyet.com> - 2017-01-04 04:15 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 10:59 +0100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-03 10:29 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-03 19:50 +0100
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-03 19:32 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-03 21:52 +0100
Re: What I learned today Jon Ribbens <jon+usenet@unequivocal.eu> - 2017-01-03 21:07 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-03 23:42 +0100
Re: What I learned today Tim Streater <timstreater@greenbee.net> - 2017-01-03 22:45 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 00:06 +0100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-03 17:00 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 10:41 +0100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-04 09:51 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 19:13 +0100
Re: What I learned today Tim Streater <timstreater@greenbee.net> - 2017-01-04 18:17 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-05 00:30 +0100
Re: What I learned today Scott Sauyet <scott@sauyet.com> - 2017-01-05 01:13 +0000
Re: What I learned today Andrew Poulos <ap_prog@hotmail.com> - 2017-01-05 13:20 +1100
Re: What I learned today Scott Sauyet <scott@sauyet.com> - 2017-01-05 17:57 +0000
Multi-line string literals (was: What I learned today) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-05 23:29 +0100
Re: Multi-line string literals (was: What I learned today) Scott Sauyet <scott@sauyet.com> - 2017-01-05 23:14 +0000
Re: Multi-line string literals Andrew Poulos <ap_prog@hotmail.com> - 2017-01-06 12:01 +1100
Re: What I learned today Andrew Poulos <ap_prog@hotmail.com> - 2017-01-05 15:22 +1100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-05 09:06 -0800
Re: What I learned today Scott Sauyet <scott@sauyet.com> - 2017-01-05 18:10 +0000
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-05 20:38 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-05 22:37 +0100
Re: What I learned today Tim Streater <timstreater@greenbee.net> - 2017-01-05 23:21 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-06 00:29 +0100
Re: What I learned today Andrew Poulos <ap_prog@hotmail.com> - 2017-01-06 11:59 +1100
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-06 09:04 +0100
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-06 11:19 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-06 13:09 +0100
Re: What I learned today Tim Streater <timstreater@greenbee.net> - 2017-01-06 12:50 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-06 14:16 +0100
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-06 15:05 +0000
Re: What I learned today "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-01-06 16:32 +0100
Re: What I learned today Tim Streater <timstreater@greenbee.net> - 2017-01-06 16:15 +0000
Re: What I learned today Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2017-01-06 17:47 +0100
Re: What I learned today Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-06 18:07 +0100
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-07 18:38 +0000
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-09 10:33 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-09 19:57 +0100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-03 16:53 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 10:36 +0100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-04 09:53 -0800
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 19:17 +0100
Re: What I learned today Jon Ribbens <jon+usenet@unequivocal.eu> - 2017-01-05 00:57 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-05 09:49 +0100
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-04 16:49 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 18:01 +0100
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-05 20:19 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-05 22:22 +0100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-03 16:48 -0800
Re: What I learned today Scott Sauyet <scott@sauyet.com> - 2017-01-02 23:24 +0000
Re: What I learned today David Mark <dmark.cinsoft@gmail.com> - 2017-01-03 00:17 -0800
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-03 10:33 +0000
Re: What I learned today Scott Sauyet <scott@sauyet.com> - 2017-01-04 04:34 +0000
Re: What I learned today Andrew Poulos <ap_prog@hotmail.com> - 2017-01-04 16:15 +1100
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 11:12 +0100
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-04 11:07 +0100
Re: What I learned today Gene Wirchenko <genew@telus.net> - 2017-01-04 09:58 -0800
Re: What I learned today John Harris <niam@jghnorth.org.uk.invalid> - 2017-01-01 10:53 +0000
Re: What I learned today "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-01 12:36 +0100
csiph-web