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?

you are viewing a single comment's thread
view the rest of the comments
[-] NaevaTheRat@vegantheoryclub.org 42 points 2 months ago* (last edited 2 months ago)

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.

[-] FizzyOrange@programming.dev 7 points 2 months ago

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.

[-] NaevaTheRat@vegantheoryclub.org -2 points 2 months ago

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?

[-] FizzyOrange@programming.dev 4 points 2 months ago

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?

[-] NaevaTheRat@vegantheoryclub.org 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.

[-] ursakhiin@beehaw.org 1 points 2 months ago

Different user here.

My only criteria for a backend language is it tells me something went wrong and where. Hence my distaste for JS.

[-] silverblade@discuss.tchncs.de 6 points 2 months ago

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

[-] NaevaTheRat@vegantheoryclub.org 4 points 2 months ago

Pleased to have touched your life with levity, stranger.

[-] Valmond@lemmy.world 1 points 2 months ago

I write my specs in C++

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

Programming

17314 readers
76 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