3 ms·
It's actually fairly easy to get most of a Smalltalk out of Javascript. Prototypes and first-class functions form a really powerful basis for a higher language.
by rileyphone 4y ago
It's actually fairly easy to get most of a Smalltalk out of Javascript. Prototypes and first-class functions form a really powerful basis for a higher language. Though, to your point, it wouldn't really still be Javascript.
- rory 4y agoDo you know of an example snippet / article demonstrating how to do this?
- rileyphone 4y agoSmalltalk in Self: nearly complete Smalltalk implementation on similar prototypical language. http://www.merlintec.com/download/mario.pdf http://www.merlintec.com/download/mario.pdf Mootools: ancient class system for Javascript. https://mootools.net/core https://mootools.net/core Also, here's a very old Crockford article on implementing classes in Javascript. https://crockford.com/javascript/inheritance.html https://crockford.com/javascript/inheritance.html
- rory 4y agoThank you!