The Best Library I Ever Designed
summary
By 2017 a few small Elixir libraries exist: a Redis client that manages connections and protocol parsing, a Cassandra driver that returns a stream of pages so queries compose with Stream and Enum, and a data‑validation library called Saul that exposes combinators not validators. The design claim is explicit: pick a pole (an API that lets me handle this for you versus one that tells you how to handle here), follow an 80/20 extensibility rule, use OTP/Mix/Ecto primitives, and the pieces demonstrably work.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:07Talk Outline
- 3:17Software Libraries
- 6:44Let me handle this for you
- 8:32You angle this
- 10:28Two extremes
- 11:45Extensibility
- 13:01The 8020 rule
- 14:59Get out of jail point
- 17:15Composability
- 20:26Conventions
- 21:50Focus
- 22:24Ease of Use
- 25:42Documentation
- 26:24Conclusion
- 28:12Questions
related talks
22mDesign Automation in Wonderland: EPFL Logic Synthesis Libraries
30mTips for Library Development (from a Startup Developer)
52mFireside chat on client libraries
35mI want to publish my first Open Source library
25mGrowing a library ecosystem
48mIntroducing HDD: Hughes Driven Development
39mExpert Panel - Elixir Fountain Live!
37mYes, You Should Provide a Client Library For Your API
