4 ms·
Fair, and there's this neat Dhall (https://dhall-lang.org/ https://dhall-lang.org/) thing for config files (not really this, since it seems like it is designed
by osmarks 6y ago
Fair, and there's this neat Dhall (https://dhall-lang.org/ https://dhall-lang.org/) thing for config files (not really this, since it seems like it is designed to actually encode some amount of logic) which enforces that while still being pretty programmable. This might actually already be TC, though; at the very least it is able to do infinite loops.
- SomaticPirate 6y agoDhall really feels like the future of configuration as code. It provides strong typing and outputs to a flat map. It’s still early though and the tooling is a bit ugly. You can embed enough logic that it feels usable. The biggest selling point for me was the typing though.
- zingplex 6y agoI've used Dhall in production, pushed it fairly hard and can say with utmost certainty it's be an absolute pleasure. We use it as our application configuration format and derive fairly intricate Kubernetes resources from our app config.
- Gravityloss 6y agoWe also use Dhall. The home page has a very nice intro indeed. https://dhall-lang.org/ https://dhall-lang.org/