4 ms·
I've worked with frameworks that required users to use a programming language to specify configuration. It was a nightmare to debug, especially if the applicati
by gtirloni 3y ago
I've worked with frameworks that required users to use a programming language to specify configuration. It was a nightmare to debug, especially if the application would instantiate many different things in response to such completely free configurations.
Every user reporting a problem incurs in a lot of cognitive load for you because the user has the freedom to go crazy with a real programming language.. or not but it's just different enough from the previous bug report that you can't generalize your troubleshooting.
I think our best hope right now is to have jsonnet be more widely adopted.
- selfmodruntime 3y agoThis is not a problem if the configuration script just emits a valid JSON object according to your defined schema. On bug reports, your users send the generated config and you don‘t deal with the specifics.
- gtirloni 3y ago> don‘t deal with the specifics. Good luck with that. You'll be teaching your users (especially the paying ones) how to use the language.