this post was submitted on 13 Nov 2023
92 points (81.9% liked)

Programmer Humor

19555 readers
1345 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
[–] colourlessidea@feddit.de 15 points 1 year ago (2 children)

YAML is pretty good for readability, pretty awful for writability

[–] synae@lemmy.sdf.org 10 points 1 year ago

Interesting, I find that the other reasonable options are far less writable than yaml

[–] NewPerspective@lemmy.world 5 points 1 year ago (1 children)

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

[–] intensely_human@lemm.ee 1 points 1 year ago (1 children)

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

You’re telling me this is valid yaml?

{ firstName: “Intensely” }

How is that yaml?

[–] Fal@yiffit.net 0 points 1 year ago

No, because that's not valid json