Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ClojureScript (WIP) #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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