3 ms·
How often do the batteries need to be replaced?
by Daviey 1y ago
How often do the batteries need to be replaced?
- jb1991 1y ago“Batteries included” is an expression referring to technical dependencies and other matters and is not to be taken literally.
- Daviey 1y agoDo you have an example of a Clojure web framework that doesn't include batteries? ie, does https://luminusweb.com/ https://luminusweb.com/ (or it's successor Kit, https://kit-clj.github.io/ https://kit-clj.github.io/) includes batteries? They provide integrated solutions with templating, database access, authentication, and other common web application components pre-configured. It's one of those weasel phrases that is poorly defined and has unclear boundaries. I think Python first used it for the entire ecosystem: 'The Python source distribution has long maintained the philosophy of "batteries included" -- having a rich and versatile standard library which is immediately available, without making the user download separate packages. This gives the Python language a head start in many projects.' - https://www.python.org/dev/peps/pep-0206/ https://www.python.org/dev/peps/pep-0206/ So anything which doesn't require downloading separate packages, and provides a rich and versatile standard library is "batteries included"? Hugo in Golang, or Jekyll in Python are certainly batteries included then. Should all of them add this to their strapline? The distinction becomes less clear when frameworks offer plugin ecosystems or when they're built atop other "batteries included" platforms. This creates a spectrum rather than a binary classification, leaving me quite skeptical of this adoption of marketing language.
- kgwxd 1y ago"Opinionated" might have been a more accurate weasel phrase, but I think everyone that cares, knows what they meant anyway.
- brettatoms 1y agoZodiac (https://github.com/brettatoms/zodiac https://github.com/brettatoms/zodiac) is a web framework/library that tries to fill a similar niche as Flask. It includes fewer batteries but supports extensions for extra functionality, see Zodiac Assets (https://github.com/brettatoms/zodiac-assets https://github.com/brettatoms/zodiac-assets) and Zodiac SQL (https://github.com/brettatoms/zodiac-sql https://github.com/brettatoms/zodiac-sql). Zodiac itself does very little. Its mostly a preconfigured Ring app and a Reitit based router. Full disclosure, I'm the author.
- stonemetal12 1y agoI took it as a poke at how short lived batteries-included web frameworks seem to be in clojure.
- hk1337 1y ago“Why don't you make like a tree and get out of here?”
- adityaathalye 1y agoRarely. Given the stability of the language and its library ecosystem.