|
|
|
|
|
by trashburger
669 days ago
|
|
You're wrong. The prototypical model of JS was inspired by the Self programming language[0], itself a descendant of Smalltalk. It is a very crude implementation for sure, but it is object programming nevertheless. Closures being present sours the purity a bit, but closures are poor man's objects[1] anyway. [0]: https://selflanguage.org/ [1]: https://stackoverflow.com/a/11421598 |
|
[0]: https://worrydream.com/EarlyHistoryOfSmalltalk/