3 ms·
> You also have to annotate your code with type information (a la javadoc) to take full advantage of the compiler I consider this an upside, especially on larg
by murz 15y ago
> You also have to annotate your code with type information (a la javadoc) to take full advantage of the compiler
I consider this an upside, especially on large JavaScript products with many engineers contributing (like the ones Google builds). Having your JavaScript checked at compile time helps ensure quality code, and helps to avoid errors at run time.
- ma2rten 15y agoI guess you are right, especially if you work in a team and want to build well documented, maintainable code. On the other hand it can be a bit tedious, if your main goal is to build a rapid prototype kind of thing.