On 2019-09-28 3:27 AM, Seymour J Metz wrote:
JS has things called classes and objects, but their behaviors are not what the 
OO community means by object oriented.

Huh? Who is this OO community because they talk rubbish!

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of David 
Crayford <dcrayf...@gmail.com>
Sent: Friday, September 27, 2019 1:53 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Who writes these things?

On 2019-09-27 12:32 PM, Jon Perryman wrote:
JavaScript OO was specifically designed around DOM.
What language features do you believe have anything to do with DOM?
If you've used javascript, you will have noticed it doesn't have "CLASS". The 
functionality exists but not in a way OO programmers would expect. There are others but 
they are much harder to explain.
ECMAScript 6 introduced classes in 2015
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes.
It's syntactic sugar wrapped over the prototype but everybody has
started to use classes. Of course, you can
easily create objects in JavaScript simply by using closures.




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to