Elektrine lite

← Feed

@berkes@mastodon.nl

Post #2953781

2026-03-25 11:02 UTC

* Offer a .env.example, compose.yml or settings.json with all those defaults set. Keep them out of the codebase. Keep them together in one place. * Document all settings. AI agents are well suited to create/update that conf.md from your code+config files * Let the app crash on startup when values are missing. Privide good errors instead of silent defaults * Also let it crash for invalid (out of range, wrong type) values.

Replies (1)

  • @berkes@mastodon.nl 2026-03-25 11:02

    But please, realize that a well-intentioned `default="localhost:4000"` may look like a service to a fellow dev, it is a guaranteed wasted afternoon for another fellow dev(ops) who cannot figure out why their 0.0.0.0:8080 isn't used.

    Open ##2953782