Typescript vs. JavaScript vs JSDoc || Hannah Kwaw

preview_player
Показать описание
Typescript vs. JavaScript vs JSDoc || Hannah Kwaw
Subscribe for more...

Follow me on all social media platforms:
Рекомендации по теме
Комментарии
Автор

There have been two big names in the web development world who are moving away from typescript
Rich Harris - creator of Svelte
David Heinmeier Hansen - Creator of ruby on rails
They've moved to JS doc instead of typescript because it allows you to write functions that have clear type annotation for their inputs and outputs, without typescript checking every single step along the way inside that function.
Basically using typescript on certain complicated libraries (especially when performance is a significant consideration) can require "type gymnastics" to avoid making typescript mad, which certain people don't want.

connorallen
visit shbcf.ru