Skip to content

Conversation

@dhinus
Copy link
Contributor

@dhinus dhinus commented Apr 8, 2016

WIP. DO NOT MERGE.

Opening even if incomplete, to allow discussion.


5. Does it support Dead Code Elimination? **Yes**

Through Google's Closure library.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd make it clear that Dead Code Elimination is done through the Closure Closure compiler, and on top of that ClojureScript tries to leverage it as much as possible by using the Closure library for DOM operations, XHR and whatnot.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macro can do a great work in detect Dead Code Elimination. This is an example that actually work in clojure but don't in clojurescript.
http://blog.venanti.us/yagni/

This issue explain the problems with clojurescript
venantius/yagni#26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants