A Case for

TypeScript

Tyler Graf

Web Dev

Tree

👨🏻

What is Typescript?

Dynamic Type

let name = 'Tyler'
name = 1
let name: string = 'Tyler'
name = 1 // TypeError

Strict Type

Focused on Values

Why?

StackOverflow Popularity

https://survey.stackoverflow.co/2022/#section-most-popular-technologies-programming-scripting-and-markup-languages

5th

Github Popularity

https://octoverse.github.com/#top-languages-over-the-years

4th

15% Fewer Bugs

https://earlbarr.com/publications/typestudy.pdf

Runtime

Compile time

Open Source

  • All new Google projects (Angular, lit)

  • React

  • React Router

FamilySearch will adopt TypeScript

*Don't start yet

https://space-quiz.vercel.app

Demo

Review

  • Stability of Code
  • null Checking
  • Code Organization
  • intellisense

Thanks

TypeScript

By Tyler Graf

TypeScript

  • 455