|
|
|
|
|
by hayst4ck
1348 days ago
|
|
Config as code is fine as long as it results in a fully realized config that is then consumed by other code. All the big companies have almost certainly done it. I would make sure when implementing it you have someone who is very opinionated review all configs to ensure that the same behavior is always implemented in the same way until a linter can enforce idioms. I would avoid explicit conditionals and explicit loops, instead relying on implied conditionals and implied loops. I would absolutely not use any "live" data, meaning the code should be relatively pure without any dependencies. Pystachio is not a bad choice in python land: https://github.com/wickman/pystachio |
|