4 ms·
Because with a real programming language you get an actual IDE, auto complete, a debugger, sane compiler errors instead of a vague helm error "invalid thingy at
by maximus-decimus 3y ago
Because with a real programming language you get an actual IDE, auto complete, a debugger, sane compiler errors instead of a vague helm error "invalid thingy at line 4", you can log a bad config the same way you log stuff for the rest of your program and you can't guarantee your config is valid anyway if your config language can't see what class you're going to feed it to.
- avianlyric 3y agoThat’s a consequence of configuration languages not have proper type systems, and robust was to manipulate data. Helm isn’t a configuration language, it’s a dressed up string templating system with ability to do kubectl apply. > you can't guarantee your config is valid anyway if your config language can't see what class you're going to feed it to. Obviously, but that’s hardly an insurmountable problem. We’ve had code gen and language introspection for decades.
- Too 3y agoHelm is not a proper configuration language. It just does string replace. Unbelievable that people actually use it. A config language that does have the type information can give proper errors. Try for example terraform.