this post was submitted on 12 Nov 2023
748 points (96.8% liked)

Programmer Humor

20039 readers
1098 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 33 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)

[–] [email protected] 7 points 1 year ago (1 children)

You're looking for StrictYaml

[–] Gecko 1 points 1 year ago

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

load more comments (6 replies)