Rich “🎅” Harris Telling us About TypeScript Mistakes... 😱

preview_player
Показать описание
We'll talk more about this in the upcoming Dev Vlog on April 5th!

Рекомендации по теме
Комментарии
Автор

A lot of us may not take the time to watch previous live streams or interviews and are missing some really valuable things, so thanks for sharing these snippets!

silasobviously
Автор

I really like this format of info, keep posting short tutorials as well

vivsh.
Автор

what is prototyping do in js? I thought it was same as typescript - type facility in js. I used it once. I liked it.

FzsHotDogInDonut
Автор

I do exactly this instead of TS. Fine for me since 4 years.

karlheinzneugebauer
Автор

This makes a lot of sense to me. I've felt the pains of needing to constantly recompile Typescript and how very unfun it can be.

I've also been learning how much more vastly complicated devs like to make their code by using Typescript. There is a point where you can make your type system so complicated and abstract that you start to lose the benefits of having one.

I've also used Typescript some as JS comments and seen the benefits of skipping both the need for compilation as well as skipping a lot of the unnecessary complexity Typescript can bring in with the fancier features it has. There's something to be said about giving up a lot of the power and features of Typescript to gain the main purpose of it (e.g. having type safety checks) in a much simpler way.

Thanks Rich for speaking up on this. Typescript is a great tool, but it's not always great for everything, at least not in its full featured form.

baka_baca
Автор

I’m adopting the same approach because there’s a certain fear towards TS from other non-JS devs in my company so this is great. How does it work though? Do you use JSDoc or something else?

codingcocoon
Автор

The types store of svelte is very helpful to access Data from the server side. Also with libraries like Zod it is really great experience building server side apps. I was a react developer and now i love to flex as a svelte developer. Thank you Rich

WolfManThoughts
Автор

jquery didn't have types. no absolute must here.

liquidsleep
Автор

I really like this format of info, keep posting short tutorials as well

vivsh.