this post was submitted on 06 Sep 2024
61 points (73.6% liked)

Programming

17352 readers
358 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 1 year ago
MODERATORS
61
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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 42 points 2 months ago* (last edited 2 months ago) (3 children)

Programmers hate everything. You could design a spec which serenades you with angel song and feeds you chocolate dipped grapes and someone would be like: This is awful, my usecase is being a dog.

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

Sure there aren't many things that are universally loved. I mean I can't really think of anything that doesn't have some flaw.

But that doesn't mean everything is equal! What would you rather program with, Visual Basic or Go? PHP or Typescript? If you polled people there are obvious winners.

[–] [email protected] -2 points 2 months ago (1 children)

Hey would you rather build from wood or steel?

What glue is better: 2 part epoxy or PVA?

Do you prefer soap or bleach as cleaning agent?

[–] [email protected] 4 points 2 months ago (1 children)

Would you rather build from wood or tissue paper?

What glue is better: 2 part epoxy or pritt stick?

Do you prefer soap or ash as a cleaning agent?

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

Unlike tissue paper yaml is actually fit for purpose. I actually don't know of any lang that literally can't run a program. The most you could stretch what you're saying to is that some esolangs are akin to making bricks of packed tissues to build with. They are art projects not serious submissions though.

I don't like js as much as anyone else but as evidenced by reality it works. Programmers need to stop sniffing their own farts, you have such strong opinions about the most insane shit when at most you should be talking about narrower scopes for use and trade offs.

[–] [email protected] 6 points 2 months ago (1 children)

This comment is underrated, even if it rises to the top of all comments.

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

Pleased to have touched your life with levity, stranger.

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

I write my specs in C++