2 ms·
> Being a logical language, rather than telling the computer what to do, you state facts and it verifies that you are correct. Sure--it's like advanced static
by throwaway894345 5y ago
> Being a logical language, rather than telling the computer what to do, you state facts and it verifies that you are correct.
Sure--it's like advanced static typing for static configuration. But that seems like a different and lesser problem than DRYing up the configuration in the first place, and moreover if you use a statically typed programming language to DRY up your configuration then you get pretty similar guarantees to Cue. You don't get Cue's "unifying many definitions" approach, but I can't honestly discern the value proposition in that.
As for turing incompleteness, that's a nice to have at best. If I had to choose between a turing incomplete declarative language like JSON and a turing complete imperative language like Lua, I'd take the latter every single time.