Typescript or Javascript?

Generally it seems like all tutorials and similar stuff are for javascript. Should i choose typescript or javascript for my babylon project? What is your purpose?

1 Like

Having the idea to code a “project” probably means a lot of lines of code at the end.
In this case, TS is generally better because it allows to avoid many errors by type checking at the code generation step.

4 Likes

Agree with @jerome

100% Typescript! especially if you are using ES6 packages

Doing that you will be sure to use correctly all the babylonjs classes and features before compiling!

EDIT: You will also have autocomplete OMG :smiley: