News for hackers. Stuff that matters.
Re:Lisp in Your Language by undershirt on Wednesday September 09, 2015 @02:08PM (#10193037)
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-clojures...
Re:Lisp in Your Language by davexunit on Wednesday September 09, 2015 @02:41PM (#10193315)
I 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