Jason Kuhrt - Introduction to Data Modeling with Algebraic Data Types in TypeScript with Alge

preview_player
Показать описание
Alge is a new library that Jason has developed this summer for working with Algebraic Data Types (ADTs) in TypeScript. It has three capabilities that build upon one another:

1. build one-off records
2. with multiple records build ADTs
3. pattern match against ADTs.

He will demo each of these, sharing thoughts along the way, taking questions, etc.

——————————————————

📚 Learn more about Prisma

——————————————————

💬 Connect with Prisma:

——————————————————

✅ Subscribe to Prisma's YouTube channel
Рекомендации по теме
Комментарии
Автор

I wonder how much slower a domain model would be if built with Zod and Alge versus more primitive types. For people that have done functional programming in more functional languages, or functional first languages, with type systems that have ADTs built-in, this might seem very ugly (bolted-on).

PaulSebastianManole
visit shbcf.ru