Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You want to introduce data validation and type-checking in your config? Fine, you can just ask users to provide type annotations in the format you want...

No - the users cannot choose type - they cannot suddenly decide that they want to provide a date where your parser expects an URL, or you are suddenly just making users repeat the schema

> Every software MUST WORK WITHOUT A CONFIG!! > So, empty config or no config file at all must be a valid configuration

Loads of scenarios where I want fail-fast over a running but broken system: "WARN AlertSystem URL not configured: alerting disabled" "WARN No credentials store configured, adding admin/111111" ....



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: