Загрузка видео...
Не удалось загрузить видео
TypeScript types can be intimidating to read. My solution? Break it into pieces. This is a preview of my upcoming new course, "TypeScript: Deep Dive". Publishing in May!
13,699 просмотров • 1 год назад •via X (Twitter)
Комментарии: 10

And yes, I wear a tie when writing complex types. Serious business.

Nice! Now explain this.

Any reason you don’t CamelCase your types and type args?

developer in a suit is a red flag. muted, blocked, reported.

Fair

I'm not at this level yet but I'll get there 👐

You know what would be really powerful? Generate a list of example values for those types on demand, directly in editor. Something like "show me how this is used for real". AI-enabled typing documentation.

nice outfit ! dressed well for the occasion Cory!

tie took my whole focus 😉

Well, it's easier than unscrambling C declarations: char *(*c[10]) (int **p); “c is an array of 10 pointers to functions that each take a pointer to a pointer to an int as an argument and return a pointer to a char.”
