Tal Joffe
All you need is types
#1about 3 minutes
Understanding TypeScript's origins and role in scalability
TypeScript was created for object-oriented developers but can be used in a more native JavaScript style to help manage large-scale projects.
#2about 4 minutes
Achieving scalability with readability, structure, and enforcement
Scalable codebases depend on readability for faster comprehension, clear structure for discoverability, and enforcement to maintain quality over time.
#3about 6 minutes
Improving code structure by separating data from logic
Instead of combining data and behavior in classes, separate them into distinct types for data and functions for logic to create a clearer, more maintainable structure.
#4about 6 minutes
Using types to enforce data integrity and logic patterns
TypeScript natively enforces data shapes, and you can extend this by using utility types and creating custom types to enforce design patterns like CQS.
#5about 8 minutes
Minimizing boilerplate code with advanced TypeScript features
Reduce code overhead by leveraging type inference, avoiding complex OOP patterns, and using utility types like `keyof` and `ReturnType` to generate new types from existing ones.
#6about 7 minutes
Building confidence with static analysis and typed testing
TypeScript's static analysis catches errors at build time, and using explicit types in tests ensures mocks are accurate, leading to more reliable integration tests.
#7about 2 minutes
Summary of using types for scalable codebases
By focusing on types for readability, structure, and enforcement, developers can build scalable applications while minimizing boilerplate through a functional approach.
#8about 6 minutes
Applying clean code principles for naming and errors
Follow the "clean code" principle that names should reveal intent, and adopt a functional approach to error handling by returning errors instead of throwing them.
#9about 3 minutes
Deciding between types, interfaces, and transpilers
Use types and interfaces interchangeably based on preference, with interfaces being more idiomatic for classes, and combine TypeScript with Babel for broader browser compatibility.
#10about 4 minutes
Practical advice on undefined returns and JS migration
Use union types with `undefined` to make potential null states explicit, and migrate existing JavaScript projects by converting code in focused sprints, using `any` as a temporary measure.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
05:09 MIN
Reflecting on 30 years of JavaScript and the rise of TypeScript
WeAreDevelopers LIVE – Guten TAG, Web Standards, AI and more
22:24 MIN
Why TypeScript is essential for building large applications
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
00:36 MIN
Understanding the core design principles of TypeScript
Advanced Typing in TypeScript
30:50 MIN
How to convince your team to adopt TypeScript
4 Steps from JavaScript to TypeScript
03:20 MIN
Why JavaScript and TypeScript dominate modern development
Modern Headless Commerce with Vendure
32:12 MIN
Strategies for migrating large codebases to TypeScript
WeAreDevelopers LIVE - Whats Nuxt and Next for app development, 20 years AJAX and more
28:31 MIN
Recap of the four-step JavaScript to TypeScript migration
4 Steps from JavaScript to TypeScript
29:20 MIN
Why readable code and developer happiness trumped TypeScript
Coffee with Developers: David Heinemeier Hansson
Featured Partners
Related Videos
Building software that scales with Typescript
Tal Joffe
Do TypeScript without TypeScript
Simone Sanfratello
4 Steps from JavaScript to TypeScript
Phil Nash
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Jens Claes
Where we're going we don't need JavaScript - Programming with Type Annotations
Peter Kröner
Advanced Typing in TypeScript
Lars Hupel
Lies we Tell Ourselves As Developers
Stefan Baumgartner
Building a large, complex product from the ground up with typescript & Atomic Design:lessons learned
Nathalia Rus
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Typescript Full Stack Engineer
Full Stack Typescript Engineer83zero Limited
Glasgow, United Kingdom
£45-55K
GIT
Java
REST
Azure
+16

Typescript Developer
Dabster
Charing Cross, United Kingdom
Java
Docker
JavaScript
TypeScript
Microservices
+1


Software Engineer TypeScript React Native
Client Server
Charing Cross, United Kingdom
Remote
£65-80K
CSS
React
JavaScript
+5

Software Engineer (AWS and TypeScript)
Groendus
Utrecht, Netherlands
€4-5K
TypeScript
Amazon Web Services (AWS)

Typescript Developer
Dabster
Charing Cross, United Kingdom
Java
Docker
JavaScript
TypeScript
Microservices
+1

Senior TypeScript/Node Engineer
Tech Talent
Charing Cross, United Kingdom
Senior
API
Node.js
GraphQL
PostgreSQL
TypeScript
+2

Lead Software Engineer Java / Typescript
Adria Solutions ltd
Middlesbrough, United Kingdom
Remote
£70-80K
Senior
Java
Solr
NoSQL
+5

Lead Software Engineer (TypeScript / Tract Native
Adria Solutions ltd
Poynton-with-Worth, United Kingdom
Remote
£80-100K
Senior
React
DevOps
Node.js
+6