23 points microflash 1 hour ago 10 comments
paulddraper 55 minutes ago | parent
I'm curious for example configs that are top-level lists?
esafak 48 minutes ago | parent
arionmiles 45 minutes ago | parent
drvd 42 minutes ago | parent
brianm 31 minutes ago | parent
I think cue is better thought of as a language you use to generate JSON (or yaml, or, let's be honest, k8s flavored yaml) configs rather than a config language you use in your app.
CodesInChaos 41 minutes ago | parent
1. The readme doesn't make it clear what its "float" type is. A double, a decimal, implementation defined. I'm generally not a fan of restricting numbers to what a double can represent, like toml does.
2. It doesn't have a good way to model key-value pair like types such as tagged unions, polymorphic types, or function invocations. Simply allowing a key-value pair as a value (right associative) where the key is a string matching the keys of an object would fix this. Alternatively a function call syntax would fix this, which would also enable tuples as a concept distinct from arrays.
lightandlight 22 minutes ago | parent
I don't want to read Claude's interpretation of why your project matters. I want you to tell me directly.
james_marks 13 minutes ago | parent