News for hackers. Stuff that matters.
Re:Why the fuck are we templating YAML? (2019) by fkyoureadthedoc on Tuesday January 23, 2024 @08:50AM (#39103240)
And then the second layer of hell, a DSL inside the YAML for something like an Azure DevOps pipeline. Truly awful.
Re:Why the fuck are we templating YAML? (2019) by lolinder on Tuesday January 23, 2024 @10:11AM (#39104331)
My personal favorite was when my company switched to configuring Jenkins in YAML, with some of the config being in YAML proper and other config being in Groovy embedded inside of multiline strings. Since it's Jenkins, the Groovy itself embeds multiline strings for scripts that need to run, so the languages end up nested three levels deep!

The only thing that saves me is IntelliJ's inject-language-in-string feature.