logoalt Hacker News

proconetoday at 3:17 PM4 repliesview on HN

YAML is a nightmare fuel spec.

In its quest to make markup "human readable", it has created countless footguns.

I honestly prefer XML at this point.


Replies

hbntoday at 4:04 PM

I never figured out how the hell to write YAML and I definitely won't now that I trust the AI to do a better job than me. It's so unintuitive.

Every time I've tried in the past, something as simple as making a value a list had some nonsense expectations. I can't wrap my head around how that spec got any traction and wasn't laughed off the face of the earth the first time it was looked at by someone who didn't create it.

anonymarstoday at 3:36 PM

In a similar vein, JSON's lack of comments makes me marvel at how consistently JavaScript seems to choose the worse option. I'm oh so glad it found its way into config files

show 3 replies
fmbbtoday at 3:25 PM

It’s find for actions and workflows as long as you do no interpolation and logic.

Better move as much of that as possible into your own scripts. And your scripts can be portable between forges, and even run locally!

show 3 replies
cgannetttoday at 3:39 PM

And thus procone spoketh the truth.

show 1 reply