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

Migrating to JavaScript #192

Open
rsandor opened this issue Oct 4, 2015 · 7 comments
Open

Migrating to JavaScript #192

rsandor opened this issue Oct 4, 2015 · 7 comments
Labels

Comments

@rsandor
Copy link
Collaborator

rsandor commented Oct 4, 2015

It is pretty clear to me that JavaScript is a much more accessible language for most of the people who might want to help contribute to Epoch. This raises the question: should we migrate the source to JavaScript.

While it wouldn't take an entire rewrite to do so, the way I wrote it originally leaned a lot on CoffeeScripts faux "classical inheritance" class model. I was attempting, at the time, to create more of a charting SDK than a general purpose stand-alone charting library. It is clear to me now that most users would rather it work as the latter rather than the former.

This tends to indicate to me that we simply do not want to do a 1-to-1 translation of the library. Instead we should rethink how it is architected and rebuild it in a way to make it 1) work better as a pure javascript project, and 2) make it as easy as possible for others contribute.

This ticket is an open question to those who are interested, what are your two cents on making a switch to using JavaScript?

@vsrnth
Copy link
Contributor

vsrnth commented Oct 4, 2015

I'd love the move to javascript. 👍

@rsandor
Copy link
Collaborator Author

rsandor commented Oct 7, 2015

Welp, it should be a pretty simple re-write if we use Babel: https://babeljs.io/docs/learn-es2015/ ES6 has pretty much all of the constructs we rely on in CoffeeScript but just nicer.

@rca
Copy link
Contributor

rca commented Oct 7, 2015

I've just started my own research on TypeScript in general, so I'm not recommending it, but simply asking what your thoughts on it are.

And, I do realize this question goes against making the project pure JS.

@woozyking
Copy link
Contributor

👍 for Babel

👍 👍 👍 for re-architecture the project so that new participants like me can get a deeper grasp of the project

@ronakshah725
Copy link

It would be good move to migrate source JavaScript.

@dkoffler
Copy link

dkoffler commented Feb 2, 2016

+1 for Javascript

@grodansparadis
Copy link

Yes Javascript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants