3 ms·
Why do we need a special purpose language for this? Just for the slightly nicer syntax? Is that worth learning a completely new language?
by Hendrikto 3y ago
Why do we need a special purpose language for this? Just for the slightly nicer syntax? Is that worth learning a completely new language?
- BiteCode_dev 3y agoI'm a big fan of Python as configuration for my own projects, but: - It requires discipline for devs to keep the conf declarative. Discipline is not automatically enforceable, so it's prone to failure. - No guarantee of reproducibility. - You need a Python VM (or a starlark interpreter if that's what you like). It's a big constrain. - If you are a Saas provider, accepting Python as input is really hard to secure.
- vlfig 3y agoa Dhall configuration file will never: - throw an exception - crash or segfault - accept malformed input - produce malformed output - hang or time out in https://docs.dhall-lang.org/discussions/Safety-guarantees.html https://docs.dhall-lang.org/discussions/Safety-guarantees.ht... Still a fan of Python for configuration?
- BiteCode_dev 3y agoYes, because engineering is about context.