3 ms·
My issues with Jsonnet is: - weird std lib, which doesn't follow other popular std libs - for example, JavaScript; - the inability to have dynamic import path
by nikolay 7y ago
My issues with Jsonnet is:
- weird std lib, which doesn't follow other popular std libs - for example, JavaScript;
- the inability to have dynamic import paths - the author cites some security reasons, but I don't buy them;
- no wildcard imports!
- lazy evaluation is a paradigm many struggle with;
- redundant 'local' keyword - Bash-like, should have used 'var' or 'let' instead;
- slow!
- `importstr` does not follow Linux conventions about trailing newline;
- no type safety!
- could borrow some operators from Cue!
- no native support for YAML and TOML!
And many more!
- ithkuil 7y agoAll valid points. Fwiw, in https://github.com/bitnami/kubecfg https://github.com/bitnami/kubecfg we have added a native functions for yaml.