4 ms·
If JS developers want a concrete example of Lisp's benefits, you only need to look at React's JSX syntax-- it lacks conditional logic and loops. To see why, yo
by undershirt 11y ago
If JS developers want a concrete example of Lisp's benefits, you only need to look at React's JSX syntax-- it lacks conditional logic and loops. To see why, you kinda have to see how React components are created in ClojureScript's lisp syntax, it's really elegant: https://github.com/shaunlebron/jumping-from-html-to-clojurescript https://github.com/shaunlebron/jumping-from-html-to-clojures...
- davexunit 11y agoI think JSX is just terrible, glad to see someone else feels the same. The ClojureScript way is much better, though I think SXML style is best: http://okmij.org/ftp/Scheme/SXML.html http://okmij.org/ftp/Scheme/SXML.html