5 ms·
Pure Scheme would not be sufficient. You need at least DOM-handling libraries. And if those libraries were poorly designed, then people wouldn't cotton onto the
by brlewis 10y ago
Pure Scheme would not be sufficient. You need at least DOM-handling libraries. And if those libraries were poorly designed, then people wouldn't cotton onto the advantage quickly. Look at DSSSL.
- shakna 10y agoJust about every modern Lisp has an X-Expression library, and having used Racket's in production, it's a hell of a lot better than the DOM browsers have today.
- fiddlerwoaroof 10y agoBecause of macros lisps are more resistant to bad APIs than other languages, in my experience.
- brlewis 10y agoThat is a very good point.
- zeveb 10y ago> You need at least DOM-handling libraries. Did you see the '(set! (inner-html (get-element-by-id document "demo")) "Hello JavaScript!")' bit? That's DOM-handling in Scheme. Not a really great API, but it's not terrible either.