Java and JavaScript — Why and whats common parts they share
May 13, 2021
It much more than car and carpet ))
So The Answer is it a history
Js is a mix of
- Scheme — lisp — functional scoping
- Smalltalk self-evolution — Self — prototypes, objects, method borrowing, clojures, functions as a first-class
- Java — Number, Date, syntax, hype, and name. And Java itself inherits a lot from Smalltalk but was not so limited in memory and go with classes and inheritance