Zac Sweers
  • Home
  • Author
  • Speaking
  • GitHub
Subscribe
Tagged

API Development

A collection of 1 post

API Design Case Studies: Intersection Types
API Design

API Design Case Studies: Intersection Types

My team recently cleaned up an API in an internal storage library. While it’s a simple case, it covers a couple interesting language tools and tradeoffs. Let’s dig in! The starting pointIt’s a function called enumStoreKeys that returns a Set of StoreKey enums for a given classKey.

  • Zac Sweers
Zac Sweers Feb 6, 2019 • 5 min read
Zac Sweers © 2022
Powered by Ghost