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

Moving to ES6 #70

Open
TheWizz opened this issue Nov 23, 2015 · 0 comments
Open

Moving to ES6 #70

TheWizz opened this issue Nov 23, 2015 · 0 comments

Comments

@TheWizz
Copy link

TheWizz commented Nov 23, 2015

I read you're working on porting to ES6. Have you considered TypeScript as an option here? It's very close to ES6, but adds (optional) typing. Having the library written in TypeScript to begin with would also make it play well with tooling for TypeScript without having to write a separate TSD (tyescript definition) file. TypeScript can then trivially be transpiled either to ES6 or to ES5, resulting in very clean code pretty much identical to what would have been written in the first place should you have written in any of those dialects yourself, so you'd still get those "for free" as well, for users who don't want to deal with TS.

Just a thought. If you're not interested in this, I'll consider adding a TSD file for snabbt once the API settles.

Mike

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

No branches or pull requests

1 participant