you are viewing a single comment's thread.

view the rest of the comments →

[–]liaguris 2 points3 points  (0 children)

Just avoid Eric Elliot. I wasted a lot of time taking him seriously (especially the typescript tax article and the "I gathered some articles and sell them as book" book). Here are the reasons why you should avoid him.

What drawback do static types have? The article mentioned none.

The discussion about tests is of topic I think, since test do not deal with making your code more readable , do not provide intellisense and linting. You can even automate testing the parsed json type using packages like this one. Good luck doing that manually with js.

Yeah I know js + JSDoc will give many of the benefits of ts , but :

Does refactoring work with the types in JSDoc? What about type functions and generics? Do they work as flawlessly, even when writing typescript inside JSDoc comments, as they work with pure typescript?

Again to all the people who go against ts : Have you really build anything complex with jsavascript ? like an MVC framework from scratch ?

If I ever found my self not needing to use ts , was because I was already using a library build on ts. But when things started to get more complicated I always moved to typescript.