this post was submitted on 12 Nov 2023
747 points (96.6% liked)

Programmer Humor

19512 readers
321 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] Gecko@lemmy.world 34 points 1 year ago (8 children)

YAML would such a nice language for config files but then it turns out that "no" is falsy and so a list of Scandinavian countries turns from

  • se
  • fi
  • no

into

  • "se"
  • "fi"
  • False

I wish there was like a JSON5 equivalent for YAML that just reduces its scope lol
(and no, TOML also looks ugly :P)

[–] Amaltheamannen@lemmy.ml 7 points 1 year ago (1 children)

You're looking for StrictYaml

[–] Gecko@lemmy.world 1 points 11 months ago

Looks interesting, I'll check it out, thanks :D

load more comments (6 replies)