this post was submitted on 06 Sep 2024
62 points (73.8% liked)

Programming

17423 readers
48 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
62
Why YAML sucks? (programming.dev)
submitted 2 months ago* (last edited 2 months ago) by heikkiket@programming.dev to c/programming@programming.dev
 

I feel that Yaml sucks. I understand the need for such markup language but I think it sucks. Somehow it's clunky to use. Can you explain why?

(page 3) 47 comments
sorted by: hot top controversial new old
[–] TCB13@lemmy.world 2 points 2 months ago (10 children)

Yes, they could've just used JSON. Totally pointless waste of time.

load more comments (10 replies)
[–] Kissaki@programming.dev 1 points 2 months ago

Somehow it’s clunky to use.

huh?

I find developing GitHub CI in YAML clunky.

I don't find configuring a simple service via YAML config, with a preset showing me and explaining what I can do clunky.

[–] Eryn6844@beehaw.org 0 points 2 months ago

cradles yaml in her hands and coos don't you talk to my baby like that! she has potential !

[–] talkingpumpkin@lemmy.world 0 points 2 months ago (2 children)

Yaml is fundamentally the same as the json and xml it has mostly replaced (and the toml that didn't manage to replace yaml)... it's a data serialization format and just doesn't have any facility for making abstractions, which are the main tool we human use to deal with complexity.

load more comments (2 replies)
[–] MajorHavoc@programming.dev 0 points 2 months ago

If YAML and JSON were gripping my hands for dear life, dangling off of a cliff...

I would let both drop into the abyss so I could spend more time with INI.

load more comments
view more: ‹ prev next ›