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

Programmer Humor

19589 readers
498 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
[–] [email protected] 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)

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

You're looking for StrictYaml

[–] [email protected] 1 points 1 year ago

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

load more comments (6 replies)