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

Programmer Humor

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

You're looking for StrictYaml

[–] Gecko@lemmy.world 1 points 2 years ago

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

load more comments (6 replies)