~/talk

Type Clash: When Structural and Nominal Systems Collide

links:none on file
links:none on file
slides:none on file

Compares concrete examples: a TypeScript query DSL that computes result types from select/where expressions and rejects invalid field operations at compile time, and a Kotlin compile-time FSM that encodes order states and two-step approvals so illegal transitions never compile; both demos compile and behave as claimed. Claims that structural typing wins for type-level computation and dynamic type construction (API integration, ad-hoc composition), while nominal typing wins for identity, semantic safety, and refactor-safe invariants enforced by the compiler.

AI-written summary · about

  1. 0:00Structural vs nominal types
  2. 4:37Structural type systems
  3. 9:39Nominal type systems
  4. 15:00Trade-offs between systems
  5. 16:05Structural typing in queries
  6. 23:54Nominal typing for FSMs
  7. 32:11Key takeaways
  8. 35:21Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.