How To Create A Stable API

Tweet

Geek And Poke
@kevlin **kwargs all the things!
@growse match-case all the implementations!
@kevlin "of course my API is just one method. You pass in a script that tells me what you want to do, and I execute it"
@kevlin This pattern is used in quite a lot of binary formats...
@kevlin I worked at a company once that essentially did this with the user table in the db. Created a json field in postgres intended to store all of the miscellaneous things they just didn't want to do a migration for.