4 ms·
> Batteries Included - Hono has built-in middleware, custom middleware, and third-party middleware. Batteries included What does this mean?
by rrr_oh_man 3y ago
> Batteries Included - Hono has built-in middleware, custom middleware, and third-party middleware. Batteries included
What does this mean?
- tobyhinloopen 3y agoIf it includes third party middleware, is it still third party?
- aerhardt 3y agoIt means instead of the philosophy prevalent in the JS world of bringing everything in as a dependency by yourself, the library attempts to provide sensible default solutions for you. I don’t know what that might cover, but it might be things as basic as parsers for headers and cookies. Which I applaud, because me personally, that’s shit I’ve never wanted to think about.
- pavlov 3y agoIt’s a slogan popularized by Python. Python with its seven circles of infinite package hell also demonstrates the limits of this approach. It’s not very useful that the language gives you two AA batteries when your application needs a megawatt of power (metaphorically).
- datascienced 3y agoBatteries included really means large sections of the factory included!
- pavlov 3y agoAlways the wrong sections in my experience...
- austin-cheney 3y agoWhen it comes to frameworks (any framework) any jargon not explicitly pointing to numbers always eventually reduces down to some interpretation of easy.