Pulling the Plug
summary
A concrete specification for wrapping functions as self‑describing units claims to solve plugin chaos by embedding inputs, exits, examples and types into the function itself so tools can validate coerce and auto‑document behavior. It ships as machines and grouped machine packs on npm and already has about 50 machines published. The implementation uses exits instead of error‑first callbacks supports automatic type coercion caching and reproducible control flow and is released and usable now.
AI-written summary · about
chapters (8)
- 0:00The problem with plugins
- 1:58The quest for standardization
- 4:54Rethinking function usage
- 6:40Function metadata in JS
- 9:22Introducing machines
- 11:05Machine packs and NPM
- 12:15Handling asynchronous exits
- 14:15The benefits of declarative code
related talks
22mEverything's a plugin Understanding webpack from the inside out
01h 42mEverything is a plugin! Mastering webpack from the inside out
20mOpening Keynote | Everything’s a plugin: Understanding webpack from the inside out
22mBuilding JavaScript for JavaScripters
32mThe "Perfect" Tooling Library
25mReinventing Rollup
35mAshley Williams - SeattleJS Conference 2017
11mJavascript Tooling - The Evolution and Future of JS & Front-end Build Tools
