Player FM uygulamasıyla çevrimdışı Player FM !
Daria Caraway Chats About TypeScript
Manage episode 303801004 series 2530175
TypeScript has been taking over, and for good reason. Have you ever had good end-to-end or integration tests that ended up being invaluable during some refactoring? You can think of TypeScript in the same way. It's amazing when it's done well, but when done poorly it's misleading and a huge headache.
Because of this, migrating to TypeScript is not a magic bullet. When converting large pieces of code from JavaScript to TypeScript you need to be cautious about typing things correctly, don't be afraid of using unknown
and moving on if you're unsure.
In this episode, you'll learn more about these realities of working with TypeScript and why it's all totally worth it!
Homework
- TypeScript Users: Take a look at five interfaces you wrote recently and see if you can refactor them to make them easier to read for the next person.
- Non-TypeScript Users: Think about the last complex code that you had to interface with and whether it would have been easier to interface with if it had types.
Guest: Daria Caraway
- Twitter: @dariacaraway
- GitHub: @darcar31
- Website: dariacaraway.com
Host: Kent C. Dodds
- Website: kentcdodds.com
- Twitter: @kentcdodds
- GitHub: @kentcdodds
- YouTube: Kent C. Dodds
- Epic React: epicreact.dev
85 bölüm
Manage episode 303801004 series 2530175
TypeScript has been taking over, and for good reason. Have you ever had good end-to-end or integration tests that ended up being invaluable during some refactoring? You can think of TypeScript in the same way. It's amazing when it's done well, but when done poorly it's misleading and a huge headache.
Because of this, migrating to TypeScript is not a magic bullet. When converting large pieces of code from JavaScript to TypeScript you need to be cautious about typing things correctly, don't be afraid of using unknown
and moving on if you're unsure.
In this episode, you'll learn more about these realities of working with TypeScript and why it's all totally worth it!
Homework
- TypeScript Users: Take a look at five interfaces you wrote recently and see if you can refactor them to make them easier to read for the next person.
- Non-TypeScript Users: Think about the last complex code that you had to interface with and whether it would have been easier to interface with if it had types.
Guest: Daria Caraway
- Twitter: @dariacaraway
- GitHub: @darcar31
- Website: dariacaraway.com
Host: Kent C. Dodds
- Website: kentcdodds.com
- Twitter: @kentcdodds
- GitHub: @kentcdodds
- YouTube: Kent C. Dodds
- Epic React: epicreact.dev
85 bölüm
Tüm bölümler
×Player FM'e Hoş Geldiniz!
Player FM şu anda sizin için internetteki yüksek kalitedeki podcast'leri arıyor. En iyi podcast uygulaması ve Android, iPhone ve internet üzerinde çalışıyor. Aboneliklerinizi cihazlar arasında eş zamanlamak için üye olun.