4 ms·
I’ve used CUE a bit and I’m underwhelmed by it. In most cases it’s just another unneeded level of abstraction, it also doesn’t go far enough, most API based too
by mountainriver 4y ago
I’ve used CUE a bit and I’m underwhelmed by it. In most cases it’s just another unneeded level of abstraction, it also doesn’t go far enough, most API based tools need to support imperative methods
- verdverm 4y agoYou don't want computability in your config, and CUE is useful beyond APIs. You can already use CUE within other programs when you need imperative, there is also the scripting layer where this is possible. There is also a plan to support a WASM runtime so you can have imperative subroutines in the scripting layer, written in any other language.
- mountainriver 4y agoMy problem is generally the config is a part of a larger data model, which often needs to define imperative methods on resources. Having stuff in Cue means yet another layer and language I have to learn and use for this part of my API, and then copy that into a full API language.
- verdverm 4y agoHow are you defining that model and methods today? Are they already in the tech / lang you use or are you using some translation like protobuf or openapi? (curiosity as I'm building a tool on top of CUE that combines it with notions of data models and code gen, and I'm always keen to learn more about the things people do today)