Тёмный

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

Prisma
Подписаться 25 тыс.
Просмотров 1,5 тыс.
50% 1

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.
Jason is a developer passionate about system design, developer experience, static typing, and functional programming. Educated in design theory, practice, and social responsibility, he fell into programming through the portal of open source, Node.js, and GitHub. Over a decade later, he has found himself in love with TypeScript and at Prisma, leading development on the Prisma Data Platform Control Plane. In his personal life, he works on various personal and open source projects, but closest to his heart is the backpacking trips he takes his two boys on across the beautiful rugged Canadian wilderness! 🗻🇨🇦
Connect with Jason: / jasonkuhrt
This talk has been recorded during the TypeScript Berlin Meetup #9. Join our Meetup group here: www.meetup.com...
------------------
📚 Learn more about Prisma
• Website: www.prisma.io
• Docs: www.prisma.io/...
• Quickstart: pris.ly/qstart
------------------
💬 Connect with Prisma:
Twitter: / prisma
Discord: pris.ly/discord
LinkedIn: / prisma-io
------------------
✅ Subscribe to Prisma's RU-vid channel
/ @prismadata

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@PaulSebastianM
@PaulSebastianM 2 года назад
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).
@jasonkuhrt8797
@jasonkuhrt8797 2 года назад
Yeah, language support would be great. TS+ is working on that I think. For Alge, do you have an alternative in mind that I could benchmark against?
@PaulSebastianM
@PaulSebastianM 2 года назад
@@jasonkuhrt8797 No, sorry. Googling reveals one interesting result though, ts-adt. I haven't used ADTs in TS before, so I have no idea how current library-based implementations perform. But do you have a reference for TS+ working on language-built-in ADTs?
Далее
How To Write Raw SQL w/ Type Safety in Prisma ORM
9:16
TypeScript - The Basics
12:01
Просмотров 1,5 млн
Are you making the most of fp-ts Option?
27:21
Просмотров 8 тыс.
IBM Quantum State of the Union 2022
54:32
Просмотров 43 тыс.
How to create a Data Vault Model from scratch
10:58
Просмотров 43 тыс.
Kotlin? For Machine Learning? | Hauke Brammer
48:07
Просмотров 2,2 тыс.