| ▲ | crowdhailer 2 hours ago | |
> The entire gist of this can be summed up by saying that configs should be strongly typed and enforced. If this the case, should the new crop of strongly typed languages; Roc, Gleam, (My own contender EYG) be presenting themselves as replacements to YAML as much as JavaScript. I've always been unsatisfied why things like YAML are so prevalent as configs and assume that some typed answer might be different to a full language | ||
| ▲ | nostrebored an hour ago | parent [-] | |
Will take a look at EYG! Right now there's a lot of annoying stuff we do because of our initial choice of building in Python. Pydantic has the very annoying property of not having an invertible .model_json_schema() which means we have a large library that should just be expressing serde and a few common behaviors. | ||