Artisanal, Machine-Generated API Libraries
Offered By: Strange Loop Conference via YouTube
Course Description
Overview
Explore a deep dive into Stripe's journey of generating API libraries across seven programming languages in this 30-minute Strange Loop Conference talk. Learn about the transition from manual maintenance to automated generation, the development of a custom compiler-like tool, and the challenges faced in preserving user experience and code readability. Discover the advantages and limitations of template-based approaches, understand the compiler approach's benefits, and gain insights into syntax trees, transformations, and algebraic data types. Examine case analyses, artisanal overrides, and their implications for web backend development. Gain valuable lessons from Stripe's experience in creating machine-generated API libraries that maintain quality and minimize breaking changes.
Syllabus
Introduction
Stripes API
Maintaining libraries manually
Why we generated our libraries
Demo
Gouda
Template approach
Template example
Advantages of templates
Limitations of templates
The compiler approach
Converting a template into a compiler
Example code
Sequential logic
Template string interpolation
Template types
Syntax
Syntax Tree
What do we gain
Snapshot testing
Transformations
Data
Open API
Case analysis
Algebraic data types
Example
Artisanal
overrides
types of overrides
conclusion
web backend
strangeloop
contact information
Taught by
Strange Loop Conference
Tags
Related Courses
Introduction to Metaprogramming in Julia - JuliaCon 2021 WorkshopThe Julia Programming Language via YouTube Pattern Matching at Scale Using Finite State Machine
Strange Loop Conference via YouTube It's All About the Goto
PHP UK Conference via YouTube Writing Code with Code - Getting Started with the Roslyn APIs
NDC Conferences via YouTube Analyzing Source Code Using Roslyn
NDC Conferences via YouTube