Better HN
topnewbestaskshowjobs
Log inSign up

calhem

2 karma · joined Jul 1, 2025 (1y ago) · 4 submissions

Submissions

comment 11mo ago · link · parent

I’m one of the people behind TypeDB. We’ve seen a lot of schema pain in domains like finance, robotics, and cybersecurity, where the same entity plays multiple roles or inherits from multiple types. Happy to answer questions or push back on the idea!

2.

Polymorphism, but for Your Database(typedb.com ↗)

4 points · by calhem · 11mo ago · 1 comment

comment 1y ago · link · parent

Feels like a part of this question is in how databases haven't evolved in the last 50 years. Databases don't treat types and domain models as first class citizens.

SQL generally lacks the expressiveness to really encode your intent in its type system, which puts more on developers, and creates longer term higher database maintenance- lower productivity.

We've been noodling around this space at TypeDB (built on the entity-relations model and Type theory, rather than set theory). Still fairly in the journey, and not well known, but there's a strong core of early adopters using it in domains where the model is the system!

Our head of engineering gave a talk about database design a couple weeks ago at New York Systems, touching on this direction if of interest- https://www.youtube.com/watch?v=w8n1TSqokF4