2 Likes
Thanks, I really enjoy the conf langs, I’m only in Nix bandwagon because of “YAML isn’t nice” vibes.
WTH!?
mixedObject {
name = "Pigeon"
lifespan = 8
"wing"
"claw"
["wing"] = "Not related to the _element_ \"wing\""
42
extinct = false
[false] {
description = "Construed object example"
}
}
But amending and import features are nice.
I think from conf perspective, that CSS is the best conf lang:
- imports (+10 years before JS has imports)
- merge and “priority” (!important)
- pattern matching (selectors and media queries)
- now it also has variables
- ubiquity (every front-end dev knows it a little)
- tooling (LSP, linter, even superset langs like LESS, etc)
But for some reason, nobody uses it for config
3 Likes