And lack of trailing comma’s
And lack of trailing comma’s
Someone’s working on a standard! https://datatracker.ietf.org/doc/draft-rivest-sexp/
and no possibility of (a lack of) trailing comma’s. Unless you use JSON inside Yaml, you heathens!
Depends on the data structure. If you want to save a table of sorts, you’re getting a bunch of unreadable [[[]]] nonsense.
For flat structures it’s great though.
That lack of trailing comma has been the bane of my existence.
People are working on making S-Expressions a standard: https://datatracker.ietf.org/doc/draft-rivest-sexp/
Note: This is just a draft, but improvements have been happening since 2023.
I probably won’t like the parentheses, but I think I’ll take it over yaml/json/whateverelse.
YAML is fine if you use a subset (don’t use the advanced features - not like you know those anyway) and use explicit strings (always add "
to strings), otherwise things may be cast when you did not intend values to be cast.
Example:
country: NO
(Norway) will be cast to country: False
, because it’ll cast no
(regardless from casing) to false
, and yes
to true
.
country: "NO"
should not be cast.
I’ll just be accused of mansplaining
Have you actually been accused, or are you afraid of being accused? Because in reality, most people don’t give two shits about the idea of “mansplaining”.
YAML is complex and has security concerns most people are not aware of.
YAML is racist to Norwegians.
If you have something like country: NO
(NO = Norway), YAML will turn that into country: False
. Why? Implicit casting. There are a bunch of truthy strings that’ll be cast automagically.
It’s a containment site; has been for a while.
Can we do a Blueyathon instead, so we can see all the foreshadowing they’ve secretly been doing all along? Take the Winton foreshadowing of his dad bumping into the mom of one of the other kids at a store…
spoiler
some two episodes before it’s even revealed that they like each other, and then even later THEY are the people that sell their house (with a pool) that the poodles end up buying instead of Bluey’s house, because Winton’s dad moves out of his house to live with the other mom!
It’s such a good show.