Re:React I love you, but you're bringing me down
by pjmlp on Tuesday September 20, 2022 @12:48PM
(#32914400)
They are as expressive as SELF, maybe time to learn how to use them?
[ Parent
| on HN ]
Re:React I love you, but you're bringing me down
by rileyphone on Tuesday September 20, 2022 @04:53PM
(#32917663)
Javascript's prototypes are more expressive than its classes, but still come short of Self on a few levels:
1. Self's prototypes support multiple delegation while JS objects only have one prototype (can be fixed with Proxies).
2. Javascript objects lack a universal clone method.
3. Self is entirely message based, while JS is property based.