Don't compromise on speedy delivery nor type-safety by choosing TypeScript
What if your type system could enforce security checks automatically? Learn how with TypeScript's powerful type-level programming.
#1about 7 minutes
An introduction to TypeScript's core type system
TypeScript adds a powerful type system to JavaScript, covering basic types, complex objects and unions, generics for abstraction, and literal types for precision.
TypeScript's type system operates in a separate 'type land' and supports programming constructs like functions via generics and conditional logic via conditional types.
#3about 6 minutes
Implementing loops and complex logic with types
Explore advanced type-level programming by implementing loops using recursion and mapped types, leveraging TypeScript's Turing-complete type system.
#4about 3 minutes
Achieving type-safe input validation with Zod
Solve the mismatch between runtime validation and static types by inferring types directly from a validator schema using the 'parse, don't validate' pattern.
#5about 8 minutes
Building end-to-end type-safe full-stack applications
Create a fully type-safe API by inferring the client from the server's implementation, eliminating type mismatches between the frontend and backend.
#6about 4 minutes
Q&A on enums, interfaces, and other features
Common questions are answered regarding the use of enums versus union types, `type` versus `interface`, file organization, and legacy features like namespaces.
#7about 7 minutes
Enforcing access control with the type system
Guarantee that permission checks are performed by encoding the checked permissions into an object's type, which is then verified by the compiler in downstream services.
#8about 4 minutes
Evaluating the strengths and limitations of TypeScript
TypeScript enables rapid, type-safe development but has limitations such as complex syntax, recursion depth limits, and the need for 'escape hatches'.
Related jobs
Jobs that call for the skills explored in this talk.
Exploring TypeScript: Benefits for Large-Scale JavaScript ProjectsJavaScript is the backbone of web development, powering everything from small websites to large-scale enterprise applications. However, as projects grow in complexity, maintaining JavaScript code can become increasingly difficult. This is where TypeS...
Daniel Cranney
Dev Digest 159: AI Pipelines, 10x Faster TypeScript, How to InterviewInside last week’s Dev Digest 159 .
🤖 How to use LLMs to help you write code
⚡ How much electricity does AI need?
🔒 Is your API secure? Learn all about hardening it…
🟦 TypeScript switches to go and gets 10 times faster
🖼️ An image cropper in your ap...
Thomas Limbüchler
What is TypeScript?Since Angular 2 at the latest, TypeScript has been known to many. But what exactly can you do with it, and is it worth changing?Anyone who has worked with programming languages such as Java or C# before will have noticed that JavaScript allows a su...
Thomas Limbüchler
4 reasons why you should learn Rust in 2021 – and maybe even have fun doing itRust is considered complex and a programming language with a steep learning curve. That's one side of the medal. We mention four points that Rust has ahead of other programming languages in terms of user-friendliness. Rust is a modern programming lan...
From learning to earning
Jobs that call for the skills explored in this talk.