DEV Community

Discussion on: Using Typescript without compilation

Collapse
 
joaozitopolo profile image
Joao Polo

Of course, it's a preference... but imagine someone migrating from Java or other typed language. It's better to learn typescript than javascript plus jsdocs.
For me, it looses the best of typescript. And also, we have infer typing that should be so complex to recreate using comments.
And also, the jsdocs is much more extensive to code.
Compilers are done to avoid it. Or do you planned to put on production your code with comments? no? then if you have any step between code and production, you have a "compiler"

Collapse
 
thepassle profile image
Pascal Schilp

Read the article again

Some comments have been hidden by the post's author - find out more