Decoding Perplexing TypeScript by Daria Caraway

preview_player
Показать описание
Have you ever come across a TypeScript type that made you go “nope” and close the file? Have you ever seen a type definition that had so many generic letters and nested statements, it felt utterly incomprehensible? In this talk, I will break down and decode some of the most perplexing TypeScript type definitions I have found in real life. You will learn how to make sense of these complex types and the TypeScript building blocks that compose them.

Daria is a Speaker and Senior Software Engineer at Netflix where she builds web applications for Netflix Content Strategists. She has been an avid lover of TypeScript for the past 9 years and enjoys helping people level up their React and TypeScript skills. When not coding, Daria is often found traveling, eating good food, and traveling to eat good food.
Рекомендации по теме
Комментарии
Автор

I'm mostly a python dev whose new job requires me to learn typescript for some of our internal tooling. This talk is absolutely phenomenal and a legit practical help for me.

fabiolean
Автор

Fantastic talk. You have a gift teaching TypeScript! Learned so much even after years of using TS.

qodesmith
Автор

Amazing slides 🤣 Great talk and a good reminder that I should probably make TypeScript do more work than I do now 😶

Yoband
Автор

Great talk, but the reason TS is spawned from the depths of Hades

browsermage
Автор

That level 4 boss is exactly what I needed to properly type my Todolist app.

abcq
Автор

Seems like there are some really interesting functional programming capabilities with that type system. I wish it were a little easier to read, though.

nicknelson
Автор

Types are language in the language but without option to debug and test.

bananasba
Автор

FYI: The type at 14:24 is incorrect (it doesn’t even compile). `infer` is needed before `U` (it’s correct in example 3).

Aside from that: Decent talk for people who have not looked very deeply into TypeScript's type system so far, but if you already have some experience, it’s not that interesting. Most of the stuff is actually quite basic compared to some of the more nuanced intricacies of the type system.

johannesloher
Автор

Very confusing and not so useful talk. I understand lot of effort went behind it, but it wasn't pedagogically useful.

AbhishekVaid
Автор

TypeScript is going down, types are too complex for simple, trivial tasks.

bananasba
Автор

I found the talk too confusing to follow. It's an attempt to explain some more difficult concepts of TS but I think it's trying to do too much in 20 min. Maybe if some real life examples were provided it would have made more sense.

Автор

Id rather do everything u wanna do in Typescript in C. That's just me tho. Typescript is boring and sucks. Literally typing so much for no reason.. nowadays its all about who has the best autocomplete so whatever, enjoy breaking your Tab key

scattermc