5 ms·
ClojureScript is the only compile to JS language that I'm aware that lets you fully leverage the power of modifying JavaScript prototypes w/o fear of gross inco
by swannodette 15y ago
ClojureScript is the only compile to JS language that I'm aware that lets you fully leverage the power of modifying JavaScript prototypes w/o fear of gross incompatibilities:
http://clojurescriptone.com/documentation.html#one.color http://clojurescriptone.com/documentation.html#one.color
Note that they've extended (safely because of namespaces) browser natives including Element, Array, String, as well as the custom ClojureScript data types to respond to the color function.
- mark_l_watson 15y agoThanks for putting that together, especially the documentation! I think that I would save a lot of time, eventually, using a uniform Clojure development environment for server side and client side, but I am hesitant to spend the learning curve time right now. (Clojure, Noir, and Javascript are working out really well for me.) Your good job on documentation will get me to spend the learning curve time sooner than later. I also do work using GWT and SmartGWT and the uniform development environment (even if it is Java :-) really helps work flow.
- swannodette 15y agoDon't thank me, thank fogus & Clojure/core! :)
- mark_l_watson 15y agoThanks Michael and Clojure/core! fixed. (please keep the original thanks though, for your other Clojure projects)
- fogus 15y agoActually you should thank Brenton Ashworth, Craig Andera, Jen Myers, and Kevin Altman. It is and looks as beautiful as it does because of them.
- Dn_Ab 15y agoYou guys are doing excellent work. I also find what you are doing with predicate dispatch very interesting. I think that class of methods are/will be really powerful - especially for big complicated programs. Have you been able to get it to work efficiently for most cases in clojurescript and in general?
- swannodette 15y agoWe're not quite there yet with predicate dispatch. However if the pattern matching benchmarks are any indicator, it will be plenty efficient. Definitely excited about it, but it might be some time since it will require some well considered synergy between core.logic and core.match.