Skip to content

joshduck/exploring-static-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring Static Types

​For twenty years JavaScript's dynamic typing has given us an easy-to-use scripting language. But now Flow and TypeScript are changing the foundations of the language. Far from turning our code into an object oriented mess, static typing gives us JavaScript code that's cleaner, simpler and more predictable.

Type safety removes boilerplate assertions, needless unit tests, and the need to create class-based APIs. And by embracing the nature of typechecking, we end up with interfaces that are easier for humans to understand too.

Slides

View the Slides

Further reading

Run the code

Clone this repo and run...

npm install
npm run check-flow
npm run build-flow
npm run build-typescript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published