#api-design

[ follow ]
Software development
fromMedium
2 weeks ago

Return type Are Contracts. Either[E, Option[A]] Breaks Them.

Public methods must make a single clear promise; encode absence as an explicit error variant (e.g., NotFound) and return Either[E, A] rather than Either[E, Option[A]].
Software development
fromHackernoon
2 years ago

The Bookmarklet Hack OpenAI Doesn't Want You to Know About | HackerNoon

The lack of a thread enumeration endpoint in OpenAI's API significantly impacts developer workflows and data management.
[ Load more ]