this post was submitted on 23 May 2024
264 points (91.5% liked)

Programmer Humor

25511 readers
2394 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
 

...from people who seem to refuse to install paredit or coloring plugins for either? ps lisp syntax ftw, it's a feature!

you are viewing a single comment's thread
view the rest of the comments
[–] 0x0@lemmy.dbzer0.com 54 points 1 year ago (7 children)

YAML is the Excel of data formats due to the Norway Problem

[–] RecluseRamble@lemmy.dbzer0.com 20 points 1 year ago (5 children)

OK, that's excessively "convenient" for booleans. But I don't get the passionate YAML hate, seems like a simple enough language for config. Didn't have the pleasure ("pleasure"?) to work with it though, so what's why else is it shitty?

[–] magic_lobster_party@kbin.run 31 points 1 year ago (2 children)

A property can have the wrong indentation and it would still be a syntactically correct yaml. It’s hard to distinguish whether a line is wrongly indented or not. Copy and paste a line and mistakenly use the wrong indentation, and the entire production breaks.

In json it’s much harder to do similar mistakes.

[–] firelizzard@programming.dev 1 points 1 year ago

It’s hard to distinguish whether a line is wrongly indented or not.

That’s very much not my experience. I use YAML regularly and while I’ve had copy paste indentation errors when I look at the offending line it’s always obvious to me how to fix the indentation. The only indentation thing that’s ever given me trouble is embedding YAML as a string within a file that uses tabs.

load more comments (1 replies)
load more comments (3 replies)
load more comments (4 replies)