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

Programming

17524 readers
617 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 [email protected]



founded 2 years ago
MODERATORS
62
Why YAML sucks? (programming.dev)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

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) 49 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 months ago (10 children)

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

load more comments (10 replies)
[–] [email protected] 1 points 2 months ago

It's docs are garbage, but the language is quite simple and human readable even for non-techies. I think it's a bit too easy at times, resulting in people just kinda winging it

[–] [email protected] 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.

[–] [email protected] 1 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.

[–] [email protected] 0 points 2 months ago

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

[–] [email protected] 0 points 2 months ago (3 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.

[–] [email protected] 1 points 2 months ago

Abstractions aren't concrete and all of these standards you're referring to are concrete data serialisations. You may be interested in CUE which captures this concept in its design.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›