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

Why do we need a special purpose language for this? Just for the slightly nicer syntax? Is that worth learning a completely new language?


I'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.


a 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.ht...

Still a fan of Python for configuration?


Yes, because engineering is about context.




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

Search: