-
Notifications
You must be signed in to change notification settings - Fork 20
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
Compile to JS or Vanilla JS #8
Comments
After some follow up discussion, it appears, using TypeScript is only essential when using along with angular. Please follow #4 for the AngularJS viability discussion. LiveScript is overall more generic choice, and depending on the modularity and maintainability of code, often essential. However, for the time being, we can keep things manageable within vanilla JS realm, without losing any feature or performance. If managing JS becomes tough, in future, we can painlessly migrate into any of the aforementioned abstractions, as they're superset of JS anyway. Also, the current set of developers working on this project have common/shared consensus about using JS as well. |
@debloper so the decision is to use vanilla JS and not TypeScript/LiveScript? Or is it a combination of both |
@nthomas-redhat for now, it's a mix of both. New modules will have increasing amount of vanilla JS codes, as new team members are really comfortable with it. At the same time, the existing code is in TS, and will stay as such unless they have to be migrated. In short, TS works well together with JS, so it's not a choice of either-this-or-that. As we've started with existing codebase, TS will be there for a while, but going forward, we're gonna use vanilla JS as much as possible without breaking anything (and it ideally shouldn't break anything). |
Compiling to JS means: writing JS in another scripting language (for higher development flexibility and efficiency), then compile them into JavaScript for serving the application.
TypeScript and LiveScript are the two most popular and feature rich superset of JavaScript(i.e. compile to JS). Spared CoffeeScript, as LiveScript does everything CoffeeScript does, but better.
<code>
)The text was updated successfully, but these errors were encountered: