6 ms·
> But you still need to get the syntax exactly right I think it's more that it's declarative that makes it simple. Also you just have to remember simpler rules
by robertlagrant 3y ago
> But you still need to get the syntax exactly right
I think it's more that it's declarative that makes it simple. Also you just have to remember simpler rules compared to JSON.
E.g.
- Apple
- Orange
- Strawberry
- Mango
Is simpler than
[
"Apple",
"Orange",
"Strawberry",
"Mango"
]
Don't forget to skip that last comma! But not all of the others!
- kristiandupont 3y ago>I think it's more that it's declarative that makes it simple ..it's no more or less declarative than other configuration languages? And yes, I get that it looks simpler. I just think that it applies as long as your file can fit in about half a page. As it grows and becomes deeply nested, IMO, that simplicity disappears.