this post was submitted on 13 Nov 2023
107 points (82.4% liked)

Programmer Humor

19197 readers
1023 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

And I'll show you YAML

(a continuation of this post)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 10 months ago (1 children)

Rule of thumb: valid json is valid yaml. If you're ever unsure, do it the old fashioned way.

[–] [email protected] 1 points 10 months ago (2 children)

I really don’t see how that’s true.

You’re telling me this is valid yaml?

{ firstName: “Intensely” }

How is that yaml?

[–] [email protected] 4 points 10 months ago

Don't listen to me, put that in a yaml validator for yourself: https://yamllint.com

[–] [email protected] -1 points 10 months ago

No, because that's not valid json